Skip to content

EmbedCanvasComponent

Unofficial

A component that renders an embedded canvas file.

Import:

import type { EmbedCanvasComponent } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface EmbedCanvasComponent extends EmbedComponent

Extends: EmbedComponent

Methods

MethodReturnsDescription
loadFile()Promise<void> | voidLoad the file into the component.

Obsidian awaits the returned promise as part of the render, and most built-in embeds load asynchronously.
(Inherited from EmbedComponent)

Links to this page: