Event$Typings extension

on

Properties

atTarget num
no setter
bubbles bool
Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.
no setter
bubblingPhase num
no setter
cancelable bool
Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.
no setter
cancelBubble bool
@deprecated
getter/setter pair
capturingPhase num
no setter
composed bool
Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.
no setter
composedPath List<EventTarget> Function()
getter/setter pair
currentTarget EventTarget?
Returns the object whose event listener's callback is currently being invoked.
no setter
defaultPrevented bool
Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
no setter
eventPhase num
Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
no setter
initEvent ↔ void Function(String, [bool?, bool?])
getter/setter pair
isTrusted bool
Returns true if event was dispatched by the user agent, and false otherwise.
no setter
none num
no setter
preventDefault ↔ void Function()
getter/setter pair
returnValue bool
@deprecated
getter/setter pair
srcElement EventTarget?
no setter
stopImmediatePropagation ↔ void Function()
getter/setter pair
stopPropagation ↔ void Function()
getter/setter pair
target EventTarget?
Returns the object to which event is dispatched (its target).
no setter
timeStamp num
Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
no setter
type String
Returns the type of event, e.g. "click", "hashchange", or "submit".
no setter