@dvs-angular/page-loader
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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 and colorB are strings and they define gradient colors

  • height (in pixels) defines loading bar height

All params are optional

Readme

Keywords

none

Package Sidebar

Install

npm i @dvs-angular/page-loader

Weekly Downloads

0

Version

0.0.2

License

none

Unpacked Size

76.1 kB

Total Files

17

Last publish

Collaborators

  • mirekxc