EditorScrollInfo
Official
Scroll info for the editor
Import:
import type { EditorScrollInfo } from 'obsidian';Signature:
export interface EditorScrollInfoProperties
| Property | Type | Description | |
|---|---|---|---|
| clientHeight | number | The height of the visible area of the editor. | |
| clientWidth | number | The width of the editor. | |
| height | number | The height of the editor. | |
| left | number | The horizontal scroll position. | |
| top | number | The vertical scroll position. | |
| width | number | The total width of the scrollable content. |