Skip to content

getCanvasViewConstructor

Unofficial

Get the CanvasView constructor.

Import:

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

Signature:

function getCanvasViewConstructor(app: App): ExtractConstructor<CanvasView>

Parameters:

Parameter Type Description
app App The app.

Returns: ExtractConstructor<CanvasView> — The CanvasView constructor.