Skip to content

ValueComponent

Defined in: obsidian.d.ts:4215

Extends

Extended by

Type Parameters

T

Constructors

new ValueComponent()

new ValueComponent<T>(): ValueComponent<T>

Returns

ValueComponent<T>

Inherited from

BaseComponent.constructor

Properties

disabled

disabled: boolean

Defined in: obsidian.d.ts:423

Inherited from

BaseComponent.disabled

Methods

getValue()

abstract getValue(): T

Defined in: obsidian.d.ts:4223

Returns

T


registerOptionListener()

registerOptionListener(listeners, key): this

Defined in: obsidian.d.ts:4219

Parameters

listeners

Record<string, (value?) => T>

key

string

Returns

this


setDisabled()

setDisabled(disabled): this

Defined in: obsidian.d.ts:432

Parameters

disabled

boolean

Returns

this

Inherited from

BaseComponent.setDisabled


setValue()

abstract setValue(value): this

Defined in: obsidian.d.ts:4227

Parameters

value

T

Returns

this


then()

then(cb): this

Defined in: obsidian.d.ts:428

Facilitates chaining

Parameters

cb

(component) => any

Returns

this

Inherited from

BaseComponent.then