pseudo-dom
    Preparing search index...

    Class MouseEventService

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

    Hierarchy (View Summary)

    Index
    AT_TARGET: 2
    BUBBLING_PHASE: 3
    CAPTURING_PHASE: 1
    NONE: 0
    • get bubbles(): boolean

      A Boolean indicating whether the event bubbles up through the Dom or not.

      Returns boolean

    • get cancelable(): boolean

      A Boolean indicating whether the event is cancelable.

      Returns boolean

    • 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 currentTarget(): PseudoEventTarget

      A reference to the currently registered target for the event. This is the object to which the event is currently slated to be sent; it's possible this has been changed along the way through re-targeting.

      Returns PseudoEventTarget

    • 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

    • Whether a modifier key was held down when the event happened.

      Parameters

      • key: string

        Control, Shift, Alt or Meta

      Returns boolean