UNPKG

585 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8export declare class Spinner {
9 private readonly spinner;
10 /** When false, only fail messages will be displayed. */
11 enabled: boolean;
12 constructor(text?: string);
13 set text(text: string);
14 succeed(text?: string): void;
15 info(text?: string): void;
16 fail(text?: string): void;
17 warn(text?: string): void;
18 stop(): void;
19 start(text?: string): void;
20}