Skip to content

MarkdownPreviewRenderer.applyScroll method

MarkdownPreviewRenderer › applyScroll

Unofficial

Scrolls the preview to a position.

Signature:

applyScroll(scroll: number, options?: any): boolean

Parameters:

ParameterTypeDescription
scrollnumberThe scroll position.
options?anyScroll options.

Returns: booleanWhether the scroll was applied.