Skip to content

TextPropertyWidgetComponent

Unofficial

Property widget component for text.

Import:

import type { TextPropertyWidgetComponent } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface TextPropertyWidgetComponent extends PropertyWidgetComponentBase

Extends: PropertyWidgetComponentBase

Properties

PropertyTypeDescription
containerElHTMLElementThe container element for the property widget.
ctxPropertyRenderContextThe render context for the property widget.
hoverPopovernullThe hover popover for the property widget.
inputElHTMLInputElementThe input element for the property widget.
type'text'The type of the property widget.
valuestringThe value of the property widget.

Methods

MethodReturnsDescription
focus(mode?)voidFocus the property widget.
(Inherited from PropertyWidgetComponentBase)
onFocus(mode?)voidHandle focus event.
render()voidRender the property widget.
setValue(value)voidSet the value of the property widget.

Links to this page: