-
Notifications
You must be signed in to change notification settings - Fork 42
API NgxUiLoaderService
-
NgxUiLoaderService.start([taskId]='default', [time])
Starts a foreground spinner with progress bar of the master loader. Users cannot interact with the page when the loader is showed. -
NgxUiLoaderService.stop([taskId]='default')
Stops a foreground spinner with progress bar of the master loader. -
NgxUiLoaderService.startBackground([taskId]='default', [time])
Starts a background spinner of the master loader. Users can interact with the page when the loader is showed. -
NgxUiLoaderService.stopBackground([taskId]='default')
Stops a background spinner of the master loader. -
NgxUiLoaderService.startLoader(loaderId, [taskId]='default', [time])
Starts a foreground spinner with progress bar of a specified loader. Users cannot interact with the page when the loader is showed. -
NgxUiLoaderService.stopLoader(loaderId, [taskId]='default')
Stops a foreground spinner with progress bar of a specified loader. -
NgxUiLoaderService.startBackgroundLoader(loaderId, [taskId]='default', [time])
Starts a background spinner of a specified loader. Users can interact with the page when the loader is showed. -
NgxUiLoaderService.stopBackgroundLoader(loaderId, [taskId]='default')
Stops a background spinner of a specified loader. -
NgxUiLoaderService.getDefaultConfig()
Returns the default configuration object ofngx-ui-loader
. -
NgxUiLoaderService.getLoader([loaderId])
Return a specified loader. If no loaderId given, it will return master loader (if exist). -
NgxUiLoaderService.getLoaders()
Return the all of loaders. -
NgxUiLoaderService.getStatus()
Deprecated - will be remove in version 8.x.x. -
NgxUiLoaderService.stopAll()
Stops all foreground and background loadings/spinners of master loader.
- Demo & Examples
-
Getting Started
2.1 Install
2.2 ImportNgxUiLoaderModule
2.3 Includengx-ui-loader
component
2.4 Multiple loaders
2.5 UseNgxUiLoaderService
service - API - NgxUiLoaderService
- Attributes of NgxUiLoaderComponent
-
NgxUiLoaderBlurred directive
5.1 Usage
5.2 Attributes -
Custom Template
6.1 Usage -
Custom configuration for NgxUiLoaderModule
7.1 Usage
7.2 Parameters offorRoot()
method -
Automatically show loader for router events
8.1 Usage
8.2 Parameters offorRoot()
method -
Automatically show loader for http requests
9.1 Usage
9.2 Parameters offorRoot()
method - Changelog
- Credits
- License