Skip to content

getImageViewConstructor

Unofficial

Get the ImageView constructor.

Import:

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

Signature:

function getImageViewConstructor(app: App): ConstructorBase<[leaf: WorkspaceLeaf], ImageView>

Parameters:

ParameterTypeDescription
appAppThe app.

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