Module: features/bars/bar

Interfaces

Type aliases

Bar

Ƭ 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"]> }>

Type parameters

NameType
Textends BarOptions

Defined in

profectus/src/features/bars/bar.ts:41


GenericBar

Ƭ GenericBar: Replace<Bar<BarOptions>, { visibility: ProcessedComputable<Visibility> }>

Defined in

profectus/src/features/bars/bar.ts:60

Variables

BarType

Const BarType: typeof BarType

Defined in

profectus/src/features/bars/bar.ts:16

Functions

createBar

createBar<T>(optionsFunc): Bar<T>

Type parameters

NameType
Textends BarOptions

Parameters

NameType
optionsFuncOptionsFunc<T, BaseBar, GenericBar>

Returns

Bar<T>

Defined in

profectus/src/features/bars/bar.ts:67