Skip to content

getEmptyViewConstructor

Unofficial

Get the EmptyView constructor.

Import:

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

Signature:

function getEmptyViewConstructor(app: App): ConstructorBase<[leaf: WorkspaceLeaf], EmptyView>

Parameters:

ParameterTypeDescription
appAppThe app.

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