Called by the RendererRuntime to notify the reading system that the content ranges have changed.
This method will internally call notifyVisibleRangeChanged.
The new IReaderViewContentRanges.
The reading position that the renderer deems suitable for the new visible range. This position may be used by the ReaderView if its current readingPosition is outside the new visible range. If omitted, the start of the visible range will be used.
Called by the RendererRuntime to notify the reading system that the visible range has changed.
The visible range.
The reading position that the renderer deems suitable for the new visible range. This position may be used by the ReaderView if its current readingPosition is outside the new visible range. If omitted, the start of the visible range will be used.
Generated using TypeDoc
An object used by RendererRuntime implementations to notify the ReaderView about content range changes.
A new instance is passed to RendererRuntime each time navigate() or navigateTo() is called. The RendererRuntime must then call notifyContentRangesChanged and notifyVisibleRangeChanged whenever new ranges have been calculated.