ReaderViewScrollStateData

data class ReaderViewScrollStateData(val rendererClientHeight: Double, val scrollTop: Double, val scrollHeight: Double, val scrolling: Boolean)

Information about a renderer's current scroll position.

Constructors

Link copied to clipboard
constructor(rendererClientHeight: Double, scrollTop: Double, scrollHeight: Double, scrolling: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The clientHeight of the renderer. Corresponds to the visible part of the renderer.

Link copied to clipboard

A measurement of the height of a renderer's content, including content not visible on the screen due to overflow. This value might change at any time as new content is rendered.

Link copied to clipboard

If active renderer is currently scrolling.

Link copied to clipboard

The number of pixels that a renderer's content is scrolled vertically.

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)