Interface NativeMouseEvent

Hierarchy

  • MouseEvent
    • NativeMouseEvent

Index

Properties

Methods

Properties

public AT_TARGET: number

public BUBBLING_PHASE: number

public CAPTURING_PHASE: number

public altKey: boolean

public bubbles: boolean

public button: number

public buttons: number

public cancelBubble: boolean

public cancelable: boolean

public clientX: number

public clientY: number

public ctrlKey: boolean

public currentTarget: EventTarget

public defaultPrevented: boolean

public detail: number

public eventPhase: number

public fromElement: Element

public isTrusted: boolean

public layerX: number

public layerY: number

public metaKey: boolean

public offsetX: number

public offsetY: number

public pageX: number

public pageY: number

public relatedTarget: EventTarget

public screenX: number

public screenY: number

public shiftKey: boolean

public srcElement: Element

public target: EventTarget

public timeStamp: number

public toElement: Element

public type: string

public view: Window

public which: number

public x: number

public y: number

Methods

public getModifierState(keyArg: string): boolean

Parameters

  • keyArg: string

Returns

boolean

public initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean)

Parameters

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

public 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)

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

public initUIEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number)

Parameters

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

public preventDefault()

public stopImmediatePropagation()

public stopPropagation()