this Base interface is used to describe available events & their types
you can implement your own event mapping:
interface MyEventMap extends EventMap { click: EvClick, 'custom-message': Event, [key: string]: Event,} Copy
interface MyEventMap extends EventMap { click: EvClick, 'custom-message': Event, [key: string]: Event,}
Generated using TypeDoc
this Base interface is used to describe available events & their types
you can implement your own event mapping:
Example