pseudo-dom
    Preparing search index...

    Type Alias EventDefinition

    How the browser creates an event of a standard type: whether it bubbles, whether it can be cancelled, whether it crosses the boundary of a shadow tree, and which kind of event object it is.

    type EventDefinition = {
        bubbles: boolean;
        cancelable: boolean;
        composed: boolean;
        interface:
            | "Event"
            | "UIEvent"
            | "MouseEvent"
            | "PointerEvent"
            | "KeyboardEvent"
            | "FocusEvent"
            | "InputEvent"
            | "CustomEvent";
    }
    Index
    bubbles: boolean

    After the target, the event goes back up through the ancestors (the capture phase, going down, always happens)

    cancelable: boolean

    preventDefault() can stop the default action

    composed: boolean

    The event crosses the boundary of a shadow tree

    interface:
        | "Event"
        | "UIEvent"
        | "MouseEvent"
        | "PointerEvent"
        | "KeyboardEvent"
        | "FocusEvent"
        | "InputEvent"
        | "CustomEvent"

    The kind of event object: Event, UIEvent, MouseEvent, PointerEvent, KeyboardEvent, FocusEvent, InputEvent or CustomEvent