Options
All
  • Public
  • Public/Protected
  • All
Menu

EngineEvent type used for "selectionChanged" events.

Hierarchy

Index

Properties

cancelable

cancelable: boolean

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

nativeignore

defaultPrevented

defaultPrevented: boolean

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

nativeignore

immediatePropagationStopped

immediatePropagationStopped: boolean

True if stopImmediatePropagation() was called on this event.

nativeignore

isRange

isRange: boolean

If the selection is a range or a position.

isTrusted

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".

nativeignore

locator

A locator describing the selection A value of null means that nothing is currently selected.

objectType

The type of engine event object this JSON structure represents.

default

SELECTION_CHANGED_ENGINE_EVENT

propagationStopped

propagationStopped: boolean

True if stopPropagation() was called on this event.

nativeignore

readerDocumentIndexInSpine

readerDocumentIndexInSpine: number

The index of the reader document that was the target of the event if any.

int

readerViewName

readerViewName: string

The name of the ReaderView this event is related to.

nativeignore

selectionText

selectionText: string

The text contents of the selection range.

type

The type of event.

Generated using TypeDoc