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

Property Type Description
inputEl HTMLInputElement The input element for the property widget.
type 'number' The type of the property widget.

Methods

Method Returns Description
focus(mode?) void Focus the property widget.
(Inherited from PropertyWidgetComponentBase)
onFocus() void Handle focus event.
setValue(value) void Set the value of the property widget.
showError() void Show the error message.

Links to this page: