The Event interface represents an event which takes place in the DOM.
- See also
- https://developer.mozilla.org/en-US/docs/Web/API/Event
◆ constructor()
Event::constructor |
( |
|
type | ) |
|
- Parameters
-
{string} | type A string with the name of the event. |
◆ AT_TARGET
◆ bubbles
Indicates whether the event bubbles up through the DOM tree or not. @type {Boolean}
◆ BUBBLING_PHASE
Event::BUBBLING_PHASE = 3 |
|
static |
◆ cancelable
Indicates whether the event is cancelable. @type {Boolean}
◆ CAPTURING_PHASE
Event::CAPTURING_PHASE = 1 |
|
static |
◆ composed
Indicates whether the event can bubble across the boundary between the shadow DOM and the regular DOM. @type {Boolean}
◆ currentTarget
Event::currentTarget = null |
The element to which the event handler has been attached. @type {EventTarget}
◆ devaultPrevented
Event::devaultPrevented = false |
Indicates whether the call to event.preventDefault() canceled the event. @type {Boolean}
◆ eventPhase
Indicates which phase of the event flow is currently being evaluated. @type {Number}
◆ isTrusted
Indicates whether the event was initiated by the browser or by a script. @type {Boolean}
◆ NONE
◆ target
A reference to the object to which the event was originally dispatched. @type {EventTarget}
◆ timeStamp
The time at which the event was created (in milliseconds). By specification, this value is time since epoch. @type {Number}
◆ type
The name identifying the type of the event. @type {String}
The documentation for this class was generated from the following file: