UNPKG

1.17 kBTypeScriptView Raw
1import { BarValue, ProgressbarType } from './progressbar-type.interface';
2import { ProgressbarConfig } from './progressbar.config';
3import * as i0 from "@angular/core";
4export declare class ProgressbarComponent {
5 /** maximum total value of progress element */
6 max: number;
7 /** if `true` changing value of progress bar will be animated */
8 animate: boolean;
9 /** If `true`, striped classes are applied */
10 striped: boolean;
11 /** provide one of the four supported contextual classes: `success`, `info`, `warning`, `danger` */
12 type?: ProgressbarType;
13 /** current value of progress bar. Could be a number or array of objects
14 * like {"value":15,"type":"info","label":"15 %"}
15 */
16 set value(value: number | BarValue[]);
17 isStacked: boolean;
18 _value?: number | undefined;
19 _values?: BarValue[];
20 constructor(config: ProgressbarConfig);
21 static ɵfac: i0.ɵɵFactoryDeclaration<ProgressbarComponent, never>;
22 static ɵcmp: i0.ɵɵComponentDeclaration<ProgressbarComponent, "progressbar", never, { "max": "max"; "animate": "animate"; "striped": "striped"; "type": "type"; "value": "value"; }, {}, never, ["*"], false>;
23}