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:

ParameterTypeDescription
scrollnumberThe scroll position.
options?anyScroll options.
callback?(() => void) | undefinedCalled once the scroll has been applied.

Returns: void