CreateTypewriterSubscriberConfig<T>
TYPE DEFINITION
The configuration for the createTypewriterSubscriber 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
-
onBlinking
Method which is called whenever an BLINKING event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters
-
onChanged
Method which is called whenever an CHANGED event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters
-
onFinished
Method which is called whenever an FINISHED event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters
-
onInitialized
Method which is called whenever an INITIALIZED event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters
-
onPaused
Method which is called whenever an PAUSED event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters
-
onPlaying
Method which is called whenever an PLAYING event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters
-
onRepeating
Method which is called whenever an REPEATING event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters
-
onStopped
Method which is called whenever an STOPPED event is fired from within the Typewriter.
Since 1.5.0
Signature
Parameters