Interface: M2EventListener<T>
Base interface for all m2c2kit event listeners.
Extended by
Type parameters
• T
Properties
callback()
callback: (
event
) =>void
Callback function to be called when the event is dispatched.
Parameters
• event: T
Returns
void
Source
key?
optional
key:string
Optional key (string identifier) used to identify the event listener.
Source
type
type:
string
Type of event to listen for.