pseudo-dom
    Preparing search index...

    Interface PseudoEvent

    Simulate the behaviour of the Event Class when there is no DOM available.

    interface PseudoEvent {
        get bubbles(): boolean;
        get cancelable(): boolean;
        get composed(): boolean;
        get currentTarget(): PseudoEventTarget;
        get defaultPrevented(): boolean;
        get eventPhase(): number;
        get isTrusted(): boolean;
        get target(): PseudoEventTarget;
        get timeStamp(): number;
        get type(): string;
        composedPath(): PseudoEventTarget[];
        preventDefault(): null;
        stopImmediatePropagation(): null;
        stopPropagation(): null;
    }

    Implemented by

    Index
    • get composed(): boolean

      A Boolean value indicating whether the event can bubble across the boundary between the shadow Dom and the regular Dom.

      Returns boolean

    • get defaultPrevented(): boolean

      Indicates whether event.preventDefault() has been called on the event.

      Returns boolean

    • get eventPhase(): number

      Indicates which phase of the event flow is being processed. Uses PseudoEvent constants.

      Returns number

    • get isTrusted(): boolean

      Indicates whether the event was initiated by the browser (after a user click for instance) or by a script (using an event creation method, like event.initEvent)

      Returns boolean

    • get timeStamp(): number

      The time at which the event was created (in milliseconds). By specification, this value is time since epoch, but in reality browsers' definitions vary; in addition, work is underway to change this to be a DomHighResTimeStamp instead.

      Returns number

    • For this particular event, no other listener will be called. Neither those attached on the same element, nor those attached on elements which will be traversed later (in capture phase, for instance)

      Returns null