Search.../

type

Gets the type of event that was fired.

Type:

stringRead Only

Was this helpful?

Get the type of the event

Copy Code
1$w("#myElement").onEvent( (event) => {
2 let eventType = event.type; // "click"
3} );