WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface of the JQuery extension of the W3C event object

see

https://api.jquery.com/category/events/event-object/

Hierarchy

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

bubbles

bubbles: boolean

cancelBubble

cancelBubble: boolean

cancelable

cancelable: boolean

currentTarget

currentTarget: Element

The current DOM element within the event bubbling phase.

see

https://api.jquery.com/event.currentTarget/

data

data: any

An optional object of data passed to an event method when the current executing handler is bound.

see

https://api.jquery.com/event.data/

defaultPrevented

defaultPrevented: boolean

delegateTarget

delegateTarget: Element

The element where the currently-called jQuery event handler was attached.

see

https://api.jquery.com/event.delegateTarget/

eventPhase

eventPhase: number

isTrusted

isTrusted: boolean

metaKey

metaKey: boolean

Indicates whether the META key was pressed when the event fired.

see

https://api.jquery.com/event.metaKey/

namespace

namespace: string

The namespace specified when the event was triggered.

see

https://api.jquery.com/event.namespace/

originalEvent

originalEvent: Event

The browser's original Event object.

see

https://api.jquery.com/category/events/event-object/

pageX

pageX: number

The mouse position relative to the left edge of the document.

see

https://api.jquery.com/event.pageX/

pageY

pageY: number

The mouse position relative to the top edge of the document.

see

https://api.jquery.com/event.pageY/

relatedTarget

relatedTarget: Element

The other DOM element involved in the event, if any.

see

https://api.jquery.com/event.relatedTarget/

result

result: any

The last value returned by an event handler that was triggered by this event, unless the value was undefined.

see

https://api.jquery.com/event.result/

returnValue

returnValue: boolean

scoped

scoped: boolean

srcElement

srcElement: Element | null

target

target: Element

The DOM element that initiated the event.

see

https://api.jquery.com/event.target/

timeStamp

timeStamp: number

type

type: string

which

which: number

For key or mouse events, this property indicates the specific key or button that was pressed.

see

https://api.jquery.com/event.which/

Methods

deepPath

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

initEvent

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

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

    Returns void

isDefaultPrevented

  • isDefaultPrevented(): boolean

isImmediatePropagationStopped

  • isImmediatePropagationStopped(): boolean

isPropagationStopped

  • isPropagationStopped(): boolean

preventDefault

  • preventDefault(): any
  • If this method is called, the default action of the event will not be triggered.

    see

    https://api.jquery.com/event.preventDefault/

    Returns any

stopImmediatePropagation

  • stopImmediatePropagation(): void
  • Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.

    see

    https://api.jquery.com/event.stopImmediatePropagation/

    Returns void

stopPropagation

  • stopPropagation(): void
  • Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.

    see

    https://api.jquery.com/event.stopPropagation/

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc