Skip to content

WidgetDecorationSpec

Unofficial

Specification for a widget decoration that inserts a widget at a position.

Import:

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

Signature:

export interface WidgetDecorationSpec

Properties

PropertyTypeDescription
block?booleanWhether this is a block widget.
side?numberWhich side of the position the widget is on.
widgetWidgetTypeThe widget to display.