Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Event

An event object that can be processed with [[Events]].

Hierarchy

Index

Constructors

constructor

  • new Event(name: string): Event

Properties

Private _isDefaultPrevented

_isDefaultPrevented: boolean

Has Event.preventDefault been called?

Private _isPropagationStopped

_isPropagationStopped: boolean

Has Event.stopPropagation been called?

Private _name

_name: string

The name of the event.

Accessors

isDefaultPrevented

  • get isDefaultPrevented(): boolean

isPropagationStopped

  • get isPropagationStopped(): boolean

name

  • get name(): string

Methods

preventDefault

  • preventDefault(): void
  • Prevent the default action associated with this event from being executed.

    Returns void

stopPropagation

  • stopPropagation(): void
  • Stop the propagation of this event. Remaining event handlers will not be executed.

    Returns void

Generated using TypeDoc