WidgetDecorationSpec
Unofficial
Specification for a widget decoration that inserts a widget at a position.
Import:
import type { WidgetDecorationSpec } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface WidgetDecorationSpecProperties
| 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. |