0.0.7 • Published 7 years ago

ngx-fancy-preloader v0.0.7

Weekly downloads
9
License
ISC
Repository
github
Last release
7 years ago

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;