ValueComponent
Defined in: obsidian.d.ts:4215
Extends
Extended by
AbstractTextComponent
ColorComponent
DropdownComponent
ProgressBarComponent
SliderComponent
ToggleComponent
Type Parameters
• T
Constructors
new ValueComponent()
new ValueComponent<
T
>():ValueComponent
<T
>
Returns
Inherited from
Properties
disabled
disabled:
boolean
Defined in: obsidian.d.ts:423
Inherited from
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
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