0.0.39 • Published 6 months ago
@types/angular-loading-bar v0.0.39
Installation
npm install --save @types/angular-loading-bar
Summary
This package contains type definitions for angular-loading-bar (https://github.com/chieffancypants/angular-loading-bar).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-loading-bar.
index.d.ts
// Type definitions for angular-loading-bar
// Project: https://github.com/chieffancypants/angular-loading-bar
// Definitions by: Stephen Lautier <https://github.com/stephenlautier>
// Tyrone Dougherty <https://github.com/tyronedougherty>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="angular" />
declare var _: string;
export = _;
import * as angular from 'angular';
declare module 'angular' {
export namespace loadingBar {
interface ILoadingBarProvider {
/**
* Turn the spinner on or off
*/
includeSpinner?: boolean | undefined;
/**
* Turn the loading bar on or off
*/
includeBar?: boolean | undefined;
/**
* HTML template
*/
spinnerTemplate?: string | undefined;
/**
* Loading bar template
*/
loadingBarTemplate?: string | undefined;
/**
* Latency Threshold
*/
latencyThreshold?: number | undefined;
/**
* HTML element selector of parent
*/
parentSelector?: string | undefined;
/**
* Starting size
*/
startSize?: number | undefined;
/**
* Give illusion that there's always progress
*/
autoIncrement?: boolean | undefined;
/**
* Broadcast the start event
*/
start(): void;
/**
* Set the percentage completed
* @param {number} n - number between 0 and 1
*/
set(n: number): void;
/**
* Get the percentage completed
* @returns {number}
*/
status(): number;
/**
* Increment the loading bar
*/
inc(): void;
/**
* Complete the loading bar
*/
complete(): void;
}
}
interface IRequestShortcutConfig {
/**
* Indicates that the loading bar should be hidden.
*/
ignoreLoadingBar?: boolean | undefined;
}
}
Additional Details
- Last updated: Wed, 07 Jul 2021 21:44:19 GMT
- Dependencies: @types/angular
- Global values: none
Credits
These definitions were written by Stephen Lautier, and Tyrone Dougherty.
0.0.37
8 months ago
0.0.38
7 months ago
0.0.39
6 months ago
0.0.36
3 years ago
0.0.35
7 years ago
0.0.34
7 years ago
0.0.33
7 years ago
0.0.32
7 years ago
0.0.31
7 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago