An event object for passing data to event handlers and letting them control propagation.

This is pretty much identical to how W3C and jQuery implement events.

EventData

Constructors

  • An event object for passing data to event handlers and letting them control propagation.

    This is pretty much identical to how W3C and jQuery implement events.

    EventData

    Returns EventData

Properties

isImmediatePropagationStopped: () => boolean

Returns whether stopImmediatePropagation was called on this event object.\

Type declaration

    • (): boolean
    • Returns boolean

isPropagationStopped: () => boolean

Returns whether stopPropagation was called on this event object.

Type declaration

    • (): boolean
    • Returns boolean

stopImmediatePropagation: () => void

Prevents the rest of the handlers from being executed.

stopPropagation: () => void

Stops event from propagating up the DOM tree.