window.Event
See: https://developer.mozilla.org/en-US/docs/Web/API/Event
Event(eventType, eventInit)
Creates an instance of Event.
Param | Type |
---|---|
eventType | * |
eventInit | * |
type
Read only
isTrusted : boolean
Read only
target : Node
Read only
currentTarget : Node
Read only
bubbles : boolean
Read only
cancelable : boolean
Read only
composed : boolean
Read only
eventPhase
Read only
defaultPrevented : boolean
Read only
returnValue : *
initEvent(typeArg, bubblesArg, cancelableArg)
Param | Type |
---|---|
typeArg | string |
bubblesArg | boolean |
cancelableArg | boolean |
composedPath()
Returns the event's path
See
- https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath
- https://dom.spec.whatwg.org/#dom-event-composedpath