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

Property Type Description
block? boolean Whether this is a block widget.
side? number Which side of the position the widget is on.
widget WidgetType The widget to display.