progressbar.component.d.ts 1.0 KB

12345678910111213141516171819202122232425262728
  1. import { ProgressbarConfig } from './progressbar.config';
  2. import { ProgressbarType } from './progressbar-type.interface';
  3. import { BarComponent } from './bar.component';
  4. export declare class ProgressbarComponent {
  5. /** if `true` changing value of progress bar will be animated */
  6. animate: boolean;
  7. /** If `true`, striped classes are applied */
  8. striped: boolean;
  9. /** provide one of the four supported contextual classes: `success`, `info`, `warning`, `danger` */
  10. type: ProgressbarType;
  11. /** current value of progress bar. Could be a number or array of objects
  12. * like {"value":15,"type":"info","label":"15 %"}
  13. */
  14. value: number | any[];
  15. isStacked: boolean;
  16. _striped: boolean;
  17. _animate: boolean;
  18. _value: number | any[];
  19. readonly isBs3: boolean;
  20. /** maximum total value of progress element */
  21. max: number;
  22. addClass: boolean;
  23. bars: BarComponent[];
  24. protected _max: number;
  25. constructor(config: ProgressbarConfig);
  26. addBar(bar: BarComponent): void;
  27. removeBar(bar: BarComponent): void;
  28. }