-
Notifications
You must be signed in to change notification settings - Fork 43
Home
T edited this page Feb 27, 2019
·
12 revisions
An all-in-one and fully customizable loader/spinner for Angular 5, 6 and 7+ applications. It supports foreground, background spinner/loader, indicative progress bar and multiple loaders.
Available spinners:
- Support multiple loaders (>= ngx-ui-loader@7.1.0). See Multiple loaders for more details and demo here
- Show foreground loader with progress bar
- The page content can be blurred/frosted while showing foreground loader. See NgxUiLoaderBlurred directive for more details
- Show background loader with different id for different tasks
- Be able to add logo, loading text
- Be able to change position of spinners, logo and loading text. NOTE: When they are all set to
center-center
, the gap between them are adjusted viagap
properties. Other position types are ignored. E.g. If the position of foreground spinner and logo are set tobottom-center
, they will overlap each other. - Be able to change color and size of logo, spinners and progress bar
- Be able to change the direction of progress bar
- Automatically show loader for router events. See NgxUiLoaderRouterModule for more details
- Automatically show loader for http requests. See NgxUiLoaderHttpModule for more details
- 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