ExperimentalReadonly ExperimentalcancelableIf this event's default action is cancelable. See respective engine event for its definition of default action.
Readonly ExperimentaldefaultIf this event's default action has been canceled/prevented by a call to preventDefault()
Readonly ExperimentalendedThe changes that were ongoing in the previous snapshot and are not ongoing in visibleContent.
Readonly ExperimentalimmediateTrue if stopImmediatePropagation() was called on this event.
Readonly ExperimentalisIf this event runs in a "trusted" context, i.e. the event callback is executed during a user-generated event such as "click" or "pointerdown".
Readonly ExperimentalpropagationTrue if stopPropagation() was called on this event.
Readonly ExperimentalreaderThe ReaderView instance this event is related to.
Readonly Experimentalrectstrue when visibleContent holds newly fetched rects.
false when only visibleContent.ongoingChanges changed. visibleContent then has the same rects as the
previous snapshot.
Readonly ExperimentalstartedThe changes that are ongoing in visibleContent and were not ongoing in the previous snapshot.
Readonly ExperimentaltypeThe type of event.
Readonly ExperimentalvisibleThe new snapshot.
ExperimentalPrevent the event's default action. See the respective engine event for its definition of default action.
ExperimentalStops this event from propagating to anymore listener.
ExperimentalStops this event from propagating to listeners on the ReadingSystemEngine instance, if called from a listener added to a ReaderView instance. If the event has already propagated to the ReadingSystemEngine instance, calling this method has no effect.
Used for the EngineEvent type "visibleContentChange".
The event fires once each time IReaderView.getVisibleContent starts returning a new snapshot. The new snapshot's
ongoingChangesequal the previous snapshot's, plusstarted, minusended. A change is never in both lists. In every event,startedorendedis non-empty, orrectsChangedis true.The event is dispatched asynchronously. When several snapshots are created before it reaches a listener, IReaderView.getVisibleContent can already return a newer snapshot than
visibleContent. The newer snapshot's own event follows.The order of the changes in
startedandendedis not specified.This API is experimental and might be subject to changes in future releases.