ObsidianWidgetType.setOwner method
ObsidianWidgetType › setOwner
Unofficial
Register the widget as the owner of the given element, so that clicks on it can be routed back here.Signature:
setOwner(el: HTMLElement): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| el | HTMLElement | The element to associate with the widget. |
Returns: void