33 lines
822 B
TypeScript
33 lines
822 B
TypeScript
import { OnInit, OnDestroy } from 'angular2/core';
|
|
export declare class Progress implements OnInit {
|
|
animate: boolean;
|
|
max: number;
|
|
private addClass;
|
|
bars: Array<any>;
|
|
private _max;
|
|
constructor();
|
|
ngOnInit(): void;
|
|
addBar(bar: Bar): void;
|
|
removeBar(bar: Bar): void;
|
|
}
|
|
export declare class Bar implements OnInit, OnDestroy {
|
|
progress: Progress;
|
|
type: string;
|
|
value: number;
|
|
percent: number;
|
|
transition: string;
|
|
private _value;
|
|
constructor(progress: Progress);
|
|
ngOnInit(): void;
|
|
ngOnDestroy(): void;
|
|
recalculatePercentage(): void;
|
|
}
|
|
export declare class Progressbar {
|
|
private animate;
|
|
private max;
|
|
private type;
|
|
private value;
|
|
}
|
|
export declare const PROGRESSBAR_DIRECTIVES: Array<any>;
|
|
export declare const progressbar: Array<any>;
|