Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IModuleComponentBinder

An interface to callback states of bound with component.

api-version

1

user

Hierarchy

  • IModuleComponentBinder

Index

Methods

  • onBound(packageName: string, componentId: string, channel: IModuleChannel): void
  • Called when it has been bound to the component. Between components could communicate through the IModuleChannel.

    api-version

    1

    user

    Parameters

    • packageName: string

      A package name of bound component.

    • componentId: string

      A id of bound component.

    • channel: IModuleChannel

      An empty IModuleChannel. It should be defined events to communicate with the bound component.

    Returns void

  • onUnbound(packageName: string, componentId: string): void
  • Called when it unbound from the component.

    api-version

    1

    user

    Parameters

    • packageName: string

      A package name of unbound component.

    • componentId: string

      A id of unbound component.

    Returns void

Generated using TypeDoc