bar.component.d.ts 909 B

1234567891011121314151617181920212223242526
  1. import { OnDestroy, OnInit, ElementRef, Renderer2 } from '@angular/core';
  2. import { ProgressbarComponent } from './progressbar.component';
  3. export declare class BarComponent implements OnInit, OnDestroy {
  4. private el;
  5. private renderer;
  6. max: number;
  7. /** provide one of the four supported contextual classes: `success`, `info`, `warning`, `danger` */
  8. type: string;
  9. /** current value of progress bar */
  10. value: number;
  11. readonly setBarWidth: number;
  12. addClass: boolean;
  13. readonly isBs3: boolean;
  14. striped: boolean;
  15. animate: boolean;
  16. percent: number;
  17. progress: ProgressbarComponent;
  18. protected _value: number;
  19. protected _type: string;
  20. private _prevType;
  21. constructor(el: ElementRef, progress: ProgressbarComponent, renderer: Renderer2);
  22. ngOnInit(): void;
  23. ngOnDestroy(): void;
  24. recalculatePercentage(): void;
  25. private applyTypeClasses;
  26. }