Skip to content

getWebviewerViewConstructor

Unofficial

Get the WebviewerView constructor.

Import:

import { getWebviewerViewConstructor } from '@obsidian-typings/obsidian-public-latest/implementations';

Signature:

function getWebviewerViewConstructor(app: App): ConstructorBase<[leaf: WorkspaceLeaf, browserPluginInstance: WebviewerPluginInstance], WebviewerView>

Parameters:

ParameterTypeDescription
appAppThe app.

Returns: ConstructorBase<[leaf: WorkspaceLeaf, browserPluginInstance: WebviewerPluginInstance], WebviewerView> — The WebviewerView constructor.