Skip to content

getPdfViewConstructor

Unofficial

Get the PdfView constructor.

Import:

import { getPdfViewConstructor } from '@obsidian-typings/obsidian-catalyst-latest/implementations';

Signature:

function getPdfViewConstructor(app: App): ConstructorBase<[leaf: WorkspaceLeaf], PdfView>

Parameters:

ParameterTypeDescription
appAppThe app.

Returns: ConstructorBase<[leaf: WorkspaceLeaf], PdfView> — The PdfView constructor.