Options
All
  • Public
  • Public/Protected
  • All
Menu

Different behaviors related to when a scrolling renderer should scroll when performing a ReaderView.goTo().

Index

Enumeration Members

ALWAYS_SCROLL: "ALWAYS_SCROLL"

Always scroll so that the target location is at the top of the reading area.

See IVerticalScrollRendererOptions for how the reading area is defined.

SCROLL_IF_OUTSIDE_READING_AREA: "SCROLL_IF_OUTSIDE_READING_AREA"

The renderer will not scroll if the location is inside the reading area. Otherwise, it will scroll so that the target location is at the top of the reading area.

See IVerticalScrollRendererOptions for how the reading area is defined.

SCROLL_IF_OUTSIDE_VISIBLE_RANGE: "SCROLL_IF_OUTSIDE_VISIBLE_RANGE"

The renderer will not scroll if the location is inside the visible range. Otherwise, it will scroll so that the target location is at the top of the reading area.

See IVerticalScrollRendererOptions for how the reading area is defined.

Generated using TypeDoc