Skip to content

Workspace.onQuickPreview method

Workspace › onQuickPreview

Unofficial

Trigger the quick preview event with the given arguments.

Signature:

onQuickPreview(file: TFile, data: string): void

Parameters:

Parameter Type Description
file TFile The file to preview.
data string The data to preview.

Returns: void