Constructor
<protected> new ComponentMessaging(component)
Component Messaging Utilities.
Parameters:
Name | Type | Description |
---|---|---|
component |
Object | instance |
- Source:
Non-public Fields
-
<protected, constant> ._DISPLAY_TYPE
-
Default display types supported for component messaging. Future: support for inline
- Source:
-
<protected, constant> ._DISPLAY_TYPE_TO_CALLBACK
-
Tracks the messaging strategy callback function by type, used to instantiate messaging strategies. Implementations register by type.
- Source:
Methods
-
<static> registerMessagingStrategy(type, strategyConstructorCallback) → {undefined}
-
Stores the constructor function callback object used to constuct a strategy object for the specified type.
Parameters:
Name Type Description type
string strategyConstructorCallback
Function a constructor callback that can be used to constuct a strategy object for the specified type - Source:
Returns:
- Type
- undefined