data class LayoutViewport
(source)
Layout viewport position and dimensions.
Link
Page#LayoutViewport type documentation.
LayoutViewport(pageX: Int, pageY: Int, clientWidth: Int, clientHeight: Int)
Layout viewport position and dimensions. |
val clientHeight: Int
Height (CSS pixels), excludes scrollbar if present. |
|
val clientWidth: Int
Width (CSS pixels), excludes scrollbar if present. |
|
val pageX: Int
Horizontal offset relative to the document (CSS pixels). |
|
val pageY: Int
Vertical offset relative to the document (CSS pixels). |