Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IComponent

Hierarchy

  • IComponent

Implemented by

Index

Properties

Optional afterStart

afterStart: function

Component lifecycle callback

param
returns

Type declaration

    • (cb: function): void
    • Parameters

      • cb: function
          • (): void
          • Returns void

      Returns void

Optional afterStartAll

afterStartAll: function

Component lifecycle callback

returns

Type declaration

    • (): void
    • Returns void

name

name: string

Optional start

start: function

Component lifecycle callback

param
returns

Type declaration

    • (cb: function): void
    • Parameters

      • cb: function
          • (): void
          • Returns void

      Returns void

Optional stop

stop: function

Component lifecycle function

param

whether stop the component immediately

param
returns

Type declaration

    • (force: boolean, cb: function): void
    • Parameters

      • force: boolean
      • cb: function
          • (): void
          • Returns void

      Returns void