@dvs-angular/page-loader
v0.0.2
Published
PageLoader is a component that indicates if any http request or page reload is in progress
Downloads
6
Readme
Angular Components - PageLoader
PageLoader is a component that indicates if any http request or page reload is in progress
Usage
in
app.module
import { PageLoaderModule } from '@dvs-angular/page-loader';
add it into app imports
in your main template add
<page-loader></page-loader>
Params
You can modify colors and height
e.g.
<page-loader
colorA="red"
colorB="black"
height="10"
>
</page-loader>
colorA
andcolorB
are strings and they define gradient colorsheight (in pixels) defines loading bar height
All params are optional