CreateViewChannelSubscriberConfig<T, R>
TYPE DEFINITION
The configuration for the createViewChannelSubscriber function.
You should provide all methods for the events that you want to listen to, the ones you are not interested
Since 1.5.0
Properties
-
debug Optional
boolean
Optionally whether or not you want to show debug logging.
When debug is enabled whenever an event method is not provided but the event is fired, a console.warn message is logged. This allows you to easier detect missing methods during development.
Defaults to false, meaning nothing will be logged to the console.
Since 1.5.0
-
onAutoDismissPaused
Method which is called whenever an AUTO_DISMISS_PAUSED event is fired from within the ViewChannel.
Since 1.5.0
Signature
callback( ): voidParameters
-
onAutoDismissPlaying
Method which is called whenever an AUTO_DISMISS_PLAYING event is fired from within the ViewChannel.
Since 1.5.0
Signature
callback( ): voidParameters
-
onAutoDismissStopped
Method which is called whenever an AUTO_DISMISS_STOPPED event is fired from within the ViewChannel.
Since 1.5.0
Signature
callback( ): voidParameters
-
onDataChanged
Method which is called whenever an DATA_CHANGED event is fired from within the ViewChannel.
Since 1.5.0
Signature
Parameters
-
onDismissed
Method which is called whenever an DISMISSED event is fired from within the ViewChannel.
Since 1.5.0
Signature
Parameters
-
onDismissedAll
Method which is called whenever an DISMISSED_ALL event is fired from within the ViewChannel.
Since 1.5.0
Signature
Parameters
-
onInitialized
Method which is called whenever an INITIALIZED event is fired from within the ViewChannel.
Since 1.5.0
Signature
Parameters
-
onPresented
Method which is called whenever an PRESENTED event is fired from within the ViewChannel.
Since 1.5.0
Signature
Parameters