ProgressBarComponent
Extends
ValueComponent
<number
>
Constructors
new ProgressBarComponent()
new ProgressBarComponent(
containerEl
):ProgressBarComponent
Parameters
• containerEl: HTMLElement
Returns
Overrides
Properties
disabled
disabled:
boolean
Inherited from
lineEl
lineEl:
HTMLDivElement
Access the “line” element which is a child of the progressBar element
progressBar
progressBar:
HTMLDivElement
Access the “bar” element
Methods
getValue()
getValue():
number
Returns
number
Overrides
registerOptionListener()
registerOptionListener(
listeners
,key
):this
Parameters
• listeners: Record
<string
, (value
?) => number
>
• key: string
Returns
this
Inherited from
ValueComponent
.registerOptionListener
setDisabled()
setDisabled(
disabled
):this
Parameters
• disabled: boolean
Returns
this
Inherited from
setValue()
setValue(
value
):this
Parameters
• value: number
The progress amount, a value between 0-100.
Returns
this
Overrides
setVisibility()
setVisibility(
visible
):this
Shows/hides the component
Parameters
• visible: boolean
Whether the setting should be visible
Returns
this
The component
then()
then(
cb
):this
Facilitates chaining
Parameters
• cb
Returns
this