pseudo-dom
    Preparing search index...

    Class PseudoEventListener

    Handle events as they are stored and implemented.

    Index
    • Parameters

      • eventType: string

        The type of event this listens for

      • options: { capture?: boolean; once?: boolean; passive?: boolean } = {}

        The capture, once and passive options

      • handleEvent: Function

        The function which is called with the event, already bound to what it should run as

      • originalCallback: Function = handleEvent

        The function (or object) which was given when registering, used to find this listener again

      Returns PseudoEventListener

    • get callback(): Function

      The function (or object with handleEvent) which was originally given when registering, used to find this listener again for removal.

      Returns Function

    • get capture(): boolean

      Whether this listener listens in the capture phase (and at the target) rather than in the bubble phase.

      Returns boolean

    • get passive(): boolean

      Whether the listener promises not to prevent the default (preventDefault does nothing while it runs).

      Returns boolean

    • Whether this listener should not run for the event as it is now (it was removed, or it is for another phase). Stopping propagation is handled by the dispatching, since it stops other targets and not the listeners of the current one.

      Parameters

      Returns boolean