import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const f=JSON.parse('{"title":"Module: features/bars/bar","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/bars/bar.md","lastUpdated":null}'),o={name:"api/modules/features/bars/bar.md"},c=r('
Ƭ Bar<T
>: Replace
<T
& BaseBar
, { baseStyle
: GetComputableType
<T
["baseStyle"
]> ; borderStyle
: GetComputableType
<T
["borderStyle"
]> ; classes
: GetComputableType
<T
["classes"
]> ; direction
: GetComputableType
<T
["direction"
]> ; display
: GetComputableType
<T
["display"
]> ; fillStyle
: GetComputableType
<T
["fillStyle"
]> ; height
: GetComputableType
<T
["height"
]> ; mark
: GetComputableType
<T
["mark"
]> ; progress
: GetComputableType
<T
["progress"
]> ; style
: GetComputableType
<T
["style"
]> ; textStyle
: GetComputableType
<T
["textStyle"
]> ; visibility
: GetComputableTypeWithDefault
<T
["visibility"
], Visible
> ; width
: GetComputableType
<T
["width"
]> }>
An object that represents a feature that displays some sort of progress or completion or resource with a cap.
Name | Type |
---|---|
T | extends BarOptions |
profectus/src/features/bars/bar.ts:72
Ƭ GenericBar: Replace
<Bar
<BarOptions
>, { visibility
: ProcessedComputable
<Visibility
| boolean
> }>
A type that matches any valid Bar object.
profectus/src/features/bars/bar.ts:92
• Const
BarType: typeof BarType
A symbol used to identify Bar features.
profectus/src/features/bars/bar.ts:23
▸ createBar<T
>(optionsFunc
): Bar
<T
>
Lazily creates a bar with the given options.
Name | Type |
---|---|
T | extends BarOptions |
Name | Type | Description |
---|---|---|
optionsFunc | OptionsFunc <T , BaseBar , GenericBar > | Bar options. |
Bar
<T
>