type property

String type

Returns a string containing the type of event. It is set when the Event is constructed and is the name commonly used to refer to the specific event.

See: developer.mozilla.org/en-US/docs/Web/API/Event/type

Implementation

external String get type;