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 EmbedComponentExtends: EmbedComponent
Methods
| Method | Returns | Description | |
|---|---|---|---|
| loadFile() | Promise<void> | void | Load 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: