Skip to content

MarkdownPreviewRenderer.applyScrollDelayed method

MarkdownPreviewRenderer › applyScrollDelayed

Unofficial

Scrolls the preview to a position once rendering has completed.

Signature:

applyScrollDelayed(scroll: number, options?: any, callback?: (() => void) | undefined): void

Parameters:

Parameter Type Description
scroll number The scroll position.
options? any Scroll options.
callback? (() => void) | undefined Called once the scroll has been applied.

Returns: void