Search.../

type

Gets the type of event that was fired.

Type:

stringRead Only
Mixed in from:$w.Event

Was this helpful?

Get the type of the event

Code Example

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