mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Update definitions for @types/angular-loading-bar to be accurate
This commit is contained in:
committed by
Tyrone Dougherty
parent
2673835592
commit
5b1894866b
@@ -19,5 +19,8 @@ barConfig.push({
|
||||
includeSpinner: true,
|
||||
includeBar: true,
|
||||
spinnerTemplate: 'template',
|
||||
latencyThreshold: 100
|
||||
latencyThreshold: 100,
|
||||
startSize: 0.02,
|
||||
loadingBarTemplate: '',
|
||||
autoIncrement: true
|
||||
});
|
||||
|
||||
Vendored
+17
-1
@@ -1,6 +1,7 @@
|
||||
// Type definitions for angular-loading-bar
|
||||
// Project: https://github.com/chieffancypants/angular-loading-bar
|
||||
// Definitions by: Stephen Lautier <https://github.com/stephenlautier>
|
||||
// Definitions by: Stephen Lautier <https://github.com/stephenlautier>
|
||||
// Tyrone Dougherty <https://github.com/tyronedougherty>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -27,6 +28,11 @@ declare module 'angular' {
|
||||
*/
|
||||
spinnerTemplate?: string;
|
||||
|
||||
/**
|
||||
* Loading bar template
|
||||
*/
|
||||
loadingBarTemplate?: string;
|
||||
|
||||
/**
|
||||
* Latency Threshold
|
||||
*/
|
||||
@@ -35,6 +41,16 @@ declare module 'angular' {
|
||||
* HTML element selector of parent
|
||||
*/
|
||||
parentSelector?: string;
|
||||
|
||||
/**
|
||||
* Starting size
|
||||
*/
|
||||
startSize?: number;
|
||||
|
||||
/**
|
||||
* Give illusion that there's always progress
|
||||
*/
|
||||
autoIncrement?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user