ngx-bootstrap
Version:
Angular Bootstrap
24 lines (23 loc) • 1.34 kB
TypeScript
import { BarValue, ProgressbarType } from './progressbar-type.interface';
import { ProgressbarConfig } from './progressbar.config';
import * as i0 from "@angular/core";
export declare class ProgressbarComponent {
/** maximum total value of progress element */
max: number;
/** if `true` changing value of progress bar will be animated */
animate: boolean;
/** If `true`, striped classes are applied */
striped: boolean;
/** provide one of the four supported contextual classes: `success`, `info`, `warning`, `danger` */
type?: ProgressbarType;
/** current value of progress bar. Could be a number or array of objects
* like {"value":15,"type":"info","label":"15 %"}
*/
set value(value: number | BarValue[]);
isStacked: boolean;
_value?: number | undefined;
_values?: BarValue[];
constructor(config: ProgressbarConfig);
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressbarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressbarComponent, "progressbar", never, { "max": { "alias": "max"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
}