Skip to content

MarkdownPreviewRenderer.getScroll method

MarkdownPreviewRenderer › getScroll

Unofficial

Gets the current scroll position.

Signature:

getScroll(): null | number

Returns: null | numberThe scroll position, or null when there are no sections.