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
this.ngxService.start(); // start foreground loading with 'default' id
@@ -103,24 +101,24 @@ export class AppComponent implements OnInit {
103
101
104
102
```
105
103
106
-
## NgxProgressService service
104
+
## NgxUiLoaderService service
107
105
108
-
*`NgxProgressService.start([id]='default')` Starts a foreground loader with progress bar. Users cannot interact with the page when the loader is showed.
109
-
*`NgxProgressService.stop([id]='default')` Stops a foreground loader with progress bar.
110
-
*`NgxProgressService.startBackground([id]='default')` Starts a background loader. Users can interact with the page when the loader is showed.
111
-
*`NgxProgressService.stopBackground([id]='default')` Stops a background loader.
112
-
*`NgxProgressService.getDefaultConfig()` Returns the default configuration object of `ngx-progress`.
113
-
*`NgxProgressService.getStatus()` Returns an object including `waitingForeground` and `waitingBackground` properties.
114
-
*`NgxProgressService.stopAll()` Stops all foreground and background loaders.
106
+
*`NgxUiLoaderService.start([id]='default')` Starts a foreground loader with progress bar. Users cannot interact with the page when the loader is showed.
107
+
*`NgxUiLoaderService.stop([id]='default')` Stops a foreground loader with progress bar.
108
+
*`NgxUiLoaderService.startBackground([id]='default')` Starts a background loader. Users can interact with the page when the loader is showed.
109
+
*`NgxUiLoaderService.stopBackground([id]='default')` Stops a background loader.
110
+
*`NgxUiLoaderService.getDefaultConfig()` Returns the default configuration object of `ngx-ui-loader`.
111
+
*`NgxUiLoaderService.getStatus()` Returns an object including `waitingForeground` and `waitingBackground` properties.
112
+
*`NgxUiLoaderService.stopAll()` Stops all foreground and background loaders.
115
113
116
114
## Configuration
117
115
118
-
You can configure `ngx-progress` in the template as below:
116
+
You can configure `ngx-ui-loader` in the template as below:
119
117
120
-
Import the constant `SPINNER_TYPES` from `ngx-progress` in your controller. Then in your template:
118
+
Import the constant `SPINNER_TYPES` from `ngx-ui-loader` in your controller. Then in your template:
0 commit comments