Skip to content

NumberPropertyWidgetComponent

Unofficial

Property widget component for numbers.

Import:

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

Signature:

export interface NumberPropertyWidgetComponent extends PropertyWidgetComponentBase

Extends: PropertyWidgetComponentBase

Properties

PropertyTypeDescription
inputElHTMLInputElementThe input element for the property widget.
type'number'The type of the property widget.

Methods

MethodReturnsDescription
focus(mode?)voidFocus the property widget.
(Inherited from PropertyWidgetComponentBase)
onFocus()voidHandle focus event.
setValue(value)voidSet the value of the property widget.
showError()voidShow the error message.

Links to this page: