You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`fgsType`|*string*| optional |`rectangle-bounce`| Foreground spinner type. All available types can be accessed via `SPINNER_TYPES`|
175
+
||||||
176
+
|`logoPosition`|*string*| optional |`center-center`| Logo position. All available positions can be accessed via `NGX_POSITIONS`|
177
+
|`logoSize`|*number*| optional |`120`| Logo size (px) |
178
+
|`logoUrl`|*string*| optional | (*empty string*) | Logo url |
179
+
||||||
180
+
|`pbColor`|*string*| optional |`#00ACC1`| Progress bar color |
181
+
|`pbDirection`|*string*| optional |`ltr`| Progress bar direction. All directions type can be accessed via `PB_DIRECTIONS`|
182
+
|`pbThickness`|*number*| optional |`5`| Progress bar thickness |
183
+
||||||
184
+
|`text`|*string*| optional | (*empty string*) | Loading text |
185
+
|`textColor`|*string*| optional |`#FFFFFF`| Loading text color |
186
+
|`textPosition`|*string*| optional |`center-center`| Loading text position. All available positions can be accessed via `NGX_POSITIONS`|
187
+
||||||
188
+
|`gap`|*number*| optional |`24`| The gap between logo, foreground spinner and text when their positions are `center-center`|
189
+
|`overlayColor`|*string*| optional |`rgba(40,40,40,.8)`| Overlay background color |
190
+
|`threshold`|*number*| optional |`500`| The time a loader must be showed at least before it can be stopped. It must be >= 1 millisecond. **NOTE: `threshold` is only configured via forRoot() method.**||
191
+
192
+
## Automatically show loader for router events
193
+
194
+
If you want the loader to start automatically for navigating between your app routes:
Copy file name to clipboardExpand all lines: projects/ngx-ui-loader/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "ngx-ui-loader",
3
3
"description": "An all-in-one and fully customizable loader/spinner for Angular 5+ (5+ and 6+ are tested) applications. It supports foreground, background spinner/loader and indicative progress bar.",
0 commit comments