EditorScrollInfo
Official
Scroll info for the editor
Import:
import type { EditorScrollInfo } from 'obsidian';Signature:
export interface EditorScrollInfoProperties
| Property | Type | Description | |
|---|---|---|---|
| clientHeight | number | ||
| 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 |