mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
26 lines
585 B
TypeScript
26 lines
585 B
TypeScript
// Type definitions for angular-spinner.js 0.5.1
|
|
// Project: https://github.com/urish/angular-spinner
|
|
// Definitions by: Marcin Biegała <https://github.com/Biegal>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
/**
|
|
* SpinnerService
|
|
* see https://github.com/urish/angular-spinner
|
|
*/
|
|
declare interface ISpinnerService {
|
|
/**
|
|
* Start selected spinner
|
|
*
|
|
* @param spinner key
|
|
*/
|
|
spin(key: string): void;
|
|
|
|
/**
|
|
* Stop selected spinner
|
|
*
|
|
* @param spinner key
|
|
*/
|
|
stop(key: string): void;
|
|
}
|