Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for all ReaderEvents.

Type Parameters

Hierarchy

Implements

Index

Constructors

Properties

cancelable: boolean

If this event's default action is cancelable. See respective engine event for its definition of default action.

defaultPrevented: boolean

If this event's default action has been canceled/prevented by a call to preventDefault()

immediatePropagationStopped: boolean

True if stopImmediatePropagation() was called on this event.

isTrusted: boolean

If this event runs in a "trusted" context, i.e. the event callback is executed during a user-generated event such as "click" or "pointerdown".

propagationStopped: boolean

True if stopPropagation() was called on this event.

readerView: IReaderView

The ReaderView instance this event is related to, if any.

The type of event.

Methods

  • preventDefault(): void
  • Prevent the event's default action. See the respective engine event for its definition of default action.

    Returns void

  • stopImmediatePropagation(): void
  • For this particular event, no other listener will be called. Neither those attached on the same object, nor those attached on the reading system which will be traversed later.

    Returns void

  • stopPropagation(): void
  • Stops the propagation of events further along in the Reading System. Listeners attached on the same object is still called.

    Returns void

Generated using TypeDoc