0.0.7 • Published 7 years ago
ngx-fancy-preloader v0.0.7
Beautiful preloaders for angular
Install it from npm:
npm install ngx-fancy-preloader
Usage
Module
...
import {NgxFancyPreloaderModule } from 'ngx-fancy-preloader';
...
...
@NgModule({
imports: [...,NgxFancyPreloaderModule]
})
...
View
Use in template like below
<fancy-preloader [loading]="loading" [type]="type"></fancy-preloader>
Import
You can import constants from npm
import { FancyPreloaderTypes } from 'ngx-fancy-preloader';
private types: string = FancyPreloaderTypes.CIRCLE_DOT;
private loading: boolean = false;