Skip to content

EditorScrollInfo

Official

Scroll info for the editor

Import:

import type { EditorScrollInfo } from 'obsidian';

Signature:

export interface EditorScrollInfo

Properties

PropertyTypeDescription
clientHeightnumber
clientWidthnumberThe width of the editor.
heightnumberThe height of the editor.
leftnumberThe horizontal scroll position.
topnumberThe vertical scroll position.
widthnumber