TextPropertyWidgetComponent
Unofficial
Property widget component for text.
Import:
import type { TextPropertyWidgetComponent } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface TextPropertyWidgetComponent extends PropertyWidgetComponentBaseExtends: PropertyWidgetComponentBase
Properties
| Property | Type | Description | |
|---|---|---|---|
| containerEl | HTMLElement | The container element for the property widget. | |
| ctx | PropertyRenderContext | The render context for the property widget. | |
| hoverPopover | null | The hover popover for the property widget. | |
| inputEl | HTMLInputElement | The input element for the property widget. | |
| type | 'text' | The type of the property widget. | |
| value | string | The value of the property widget. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| focus(mode?) | void | Focus the property widget. (Inherited from PropertyWidgetComponentBase) | |
| onFocus(mode?) | void | Handle focus event. | |
| render() | void | Render the property widget. | |
| setValue(value) | void | Set the value of the property widget. |
Links to this page: