You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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.
879
+
*/
838
880
readonlybubbles: boolean;
839
881
cancelBubble: boolean;
840
882
readonlycancelable: boolean;
883
+
/**
884
+
* 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.
885
+
*/
841
886
readonlycomposed: boolean;
887
+
/**
888
+
* Returns the object whose event listener's callback is currently being
889
+
* invoked.
890
+
*/
842
891
readonlycurrentTarget: EventTarget|null;
843
892
readonlydefaultPrevented: boolean;
844
893
readonlyeventPhase: number;
894
+
/**
895
+
* Returns true if event was dispatched by the user agent, and
896
+
* false otherwise.
897
+
*/
845
898
readonlyisTrusted: boolean;
846
899
returnValue: boolean;
900
+
/**
901
+
* Returns the object to which event is dispatched (its target).
902
+
*/
847
903
readonlytarget: EventTarget|null;
904
+
/**
905
+
* Returns the event's timestamp as the number of milliseconds measured relative to
* Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
972
+
* The options argument sets listener-specific options. For compatibility this can be a
973
+
* boolean, in which case the method behaves exactly as if the value was specified as options's capture.
974
+
* When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
975
+
* When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in §2.8 Observing event listeners.
976
+
* When set to true, options's once indicates that the callback will only be invoked once after which the event listener will
977
+
* be removed.
978
+
* The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
0 commit comments