ObsidianWidgetType.setPos method
ObsidianWidgetType › setPos
Unofficial
Record the document range the widget stands for.Signature:
setPos(start: number, end: number): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| start | number | Start offset in the document. |
| end | number | End offset in the document. |
Returns: void