Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ViewportMouseEvent

Hierarchy

  • MouseEvent
    • ViewportMouseEvent

Index

Properties

AT_TARGET

AT_TARGET: number

BUBBLING_PHASE

BUBBLING_PHASE: number

CAPTURING_PHASE

CAPTURING_PHASE: number

MouseEvent

MouseEvent: object

Type declaration

  • constructor: function
    • new __type(typeArg: string, eventInitDict?: MouseEventInit): MouseEvent
    • Parameters

      • typeArg: string
      • Optional eventInitDict: MouseEventInit

      Returns MouseEvent

  • prototype: MouseEvent

altKey

altKey: boolean

bubbles

bubbles: boolean

button

button: number

buttons

buttons: number

cancelBubble

cancelBubble: boolean

cancelable

cancelable: boolean

canvasNormalizedX

canvasNormalizedX: number

canvasNormalizedY

canvasNormalizedY: number

canvasX

canvasX: number

canvasY

canvasY: number

clientX

clientX: number

clientY

clientY: number

ctrlKey

ctrlKey: boolean

currentTarget

currentTarget: EventTarget

defaultPrevented

defaultPrevented: boolean

detail

detail: number

eventPhase

eventPhase: number

fromElement

fromElement: Element

inside

inside: boolean

isTrusted

isTrusted: boolean

layerX

layerX: number

layerY

layerY: number

metaKey

metaKey: boolean

movementX

movementX: number

movementY

movementY: number

offsetX

offsetX: number

offsetY

offsetY: number

pageX

pageX: number

pageY

pageY: number

relatedTarget

relatedTarget: EventTarget

returnValue

returnValue: boolean

scoped

scoped: boolean

screenX

screenX: number

screenY

screenY: number

shiftKey

shiftKey: boolean

srcElement

srcElement: Element | null

target

target: EventTarget

timeStamp

timeStamp: number

toElement

toElement: Element

type

type: string

view

view: Window

viewportNormalizedX

viewportNormalizedX: number

viewportNormalizedY

viewportNormalizedY: number

viewportX

viewportX: number

viewportY

viewportY: number

which

which: number

x

x: number

y

y: number

Methods

deepPath

  • deepPath(): EventTarget[]
  • Returns EventTarget[]

getModifierState

  • getModifierState(keyArg: string): boolean
  • Parameters

    • keyArg: string

    Returns boolean

initEvent

  • initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void
  • Parameters

    • eventTypeArg: string
    • canBubbleArg: boolean
    • cancelableArg: boolean

    Returns void

initMouseEvent

  • initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget | null): void
  • Parameters

    • typeArg: string
    • canBubbleArg: boolean
    • cancelableArg: boolean
    • viewArg: Window
    • detailArg: number
    • screenXArg: number
    • screenYArg: number
    • clientXArg: number
    • clientYArg: number
    • ctrlKeyArg: boolean
    • altKeyArg: boolean
    • shiftKeyArg: boolean
    • metaKeyArg: boolean
    • buttonArg: number
    • relatedTargetArg: EventTarget | null

    Returns void

initUIEvent

  • initUIEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number): void
  • Parameters

    • typeArg: string
    • canBubbleArg: boolean
    • cancelableArg: boolean
    • viewArg: Window
    • detailArg: number

    Returns void

preventDefault

  • preventDefault(): void
  • Returns void

stopImmediatePropagation

  • stopImmediatePropagation(): void
  • Returns void

stopPropagation

  • stopPropagation(): void
  • Returns void

Generated using TypeDoc