DefinitelyTyped/ngprogress/ngprogress.d.ts
2016-03-17 21:06:54 +09:00

25 lines
635 B
TypeScript

// Type definitions for ngProgress 1.0.7
// Project: http://victorbjelkholm.github.io/ngProgress/
// Definitions by: Martin McWhorter <https://github.com/martinmcwhorter>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace NgProgress {
export interface INgProgress {
start(): void;
height(height: string): void;
color(color: string): void;
status(): number;
stop(): void;
set(value: number): void;
reset(): void;
complete(): void;
}
export interface INgProgressFactory {
createInstance(): INgProgress;
}
}