Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITouchEvent

Hierarchy

  • Event
    • ITouchEvent

Index

Properties

AT_TARGET

AT_TARGET: number

BUBBLING_PHASE

BUBBLING_PHASE: number

CAPTURING_PHASE

CAPTURING_PHASE: number

Event

Event: object

Type declaration

  • constructor: function
    • new __type(type: string, eventInitDict?: EventInit): __type
    • Parameters

      • type: string
      • Optional eventInitDict: EventInit

      Returns __type

  • AT_TARGET: number
  • BUBBLING_PHASE: number
  • CAPTURING_PHASE: number
  • prototype: Event

altKey

altKey: boolean

bubbles

bubbles: boolean

cancelBubble

cancelBubble: boolean

cancelable

cancelable: boolean

changedTouches

changedTouches: ITouch[]

ctrlKey

ctrlKey: boolean

currentTarget

currentTarget: EventTarget

defaultPrevented

defaultPrevented: boolean

eventPhase

eventPhase: number

isTrusted

isTrusted: boolean

metaKey

metaKey: boolean

returnValue

returnValue: boolean

shiftKey

shiftKey: boolean

srcElement

srcElement: Element

target

target: Element

targetTouches

targetTouches: ITouch[]

timeStamp

timeStamp: number

touches

touches: ITouch[]

type

type: string

Methods

initEvent

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

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

    Returns void

preventDefault

  • preventDefault(): void
  • Returns void

stopImmediatePropagation

  • stopImmediatePropagation(): void
  • Returns void

stopPropagation

  • stopPropagation(): void
  • Returns void