Event
See: https://developer.mozilla.org/en-US/docs/Web/API/Event
- Event
- new Event(eventType, eventInit)
- instance
- .type
- .isTrusted :
boolean
- .target :
Node
- .currentTarget :
Node
- .bubbles :
boolean
- .cancelable :
boolean
- .eventPhase
- .defaultPrevented :
boolean
- .returnValue :
*
- .preventDefault()
- .stopImmediatePropagation()
- .stopPropagation()
- static
new Event(eventType, eventInit)
Creates an instance of Event.
Param | Type |
---|---|
eventType | * |
eventInit | * |
event.type
Read only
event.isTrusted : boolean
Read only
event.target : Node
Read only
event.currentTarget : Node
Read only
event.bubbles : boolean
Read only
event.cancelable : boolean
Read only
event.eventPhase
Read only
event.defaultPrevented : boolean
Read only