Profectus / features/bars/bar / BarOptions
Interface: BarOptions ​
An object that configures a Bar.
Extends ​
Properties ​
baseStyle? ​
optional
baseStyle:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to the bar's base.
Defined in ​
profectus/src/features/bars/bar.tsx:51
borderStyle? ​
optional
borderStyle:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to the bar's border.
Defined in ​
profectus/src/features/bars/bar.tsx:49
classes? ​
optional
classes:MaybeRefOrGetter
<Record
<string
,boolean
>>
Dictionary of CSS classes to apply to this feature.
Inherited from ​
Defined in ​
direction ​
direction:
MaybeRefOrGetter
<Direction
>
The direction in which the bar progresses.
Defined in ​
profectus/src/features/bars/bar.tsx:47
display? ​
optional
display:MaybeGetter
<Renderable
>
The display to use for this bar.
Defined in ​
profectus/src/features/bars/bar.tsx:59
fillStyle? ​
optional
fillStyle:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to the bar's fill.
Defined in ​
profectus/src/features/bars/bar.tsx:55
height ​
height:
MaybeRefOrGetter
<number
>
The height of the bar.
Defined in ​
profectus/src/features/bars/bar.tsx:45
progress ​
progress:
MaybeRefOrGetter
<DecimalSource
>
The progress value of the bar, from 0 to 1.
Defined in ​
profectus/src/features/bars/bar.tsx:57
style? ​
optional
style:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to this feature.
Inherited from ​
Defined in ​
textStyle? ​
optional
textStyle:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to the bar's text.
Defined in ​
profectus/src/features/bars/bar.tsx:53
visibility? ​
optional
visibility:MaybeRefOrGetter
<boolean | Visibility>
Whether this feature should be visible.
Inherited from ​
Defined in ​
width ​
width:
MaybeRefOrGetter
<number
>
The width of the bar.