Skip to content

MarkdownPreviewRenderer.applyScroll method

MarkdownPreviewRenderer › applyScroll

Unofficial

Scrolls the preview to a position.

Signature:

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

Parameters:

Parameter Type Description
scroll number The scroll position.
options? any Scroll options.

Returns: booleanWhether the scroll was applied.