Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventWithData<Data>

Type parameters

  • Data

Hierarchy

  • Event
    • EventWithData

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(typeArg: string, eventInitDict?: EventInit): Event
    • Parameters

      • typeArg: string
      • Optional eventInitDict: EventInit

      Returns Event

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

bubbles

bubbles: boolean

cancelBubble

cancelBubble: boolean

cancelable

cancelable: boolean

currentTarget

currentTarget: EventTarget

data

data: Data

defaultPrevented

defaultPrevented: boolean

eventPhase

eventPhase: number

isTrusted

isTrusted: boolean

returnValue

returnValue: boolean

scoped

scoped: boolean

srcElement

srcElement: Element | null

target

target: EventTarget

timeStamp

timeStamp: number

type

type: string

Methods

deepPath

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

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

Generated using TypeDoc