@tusharghoshbd/ngx-loader

Angular loader component using html and css

Usage no npm install needed!

<script type="module">
  import tusharghoshbdNgxLoader from 'https://cdn.skypack.dev/@tusharghoshbd/ngx-loader';
</script>

README

Ngx Loader

Ngx loader is an angular library for preloader. It is very easy to integrate to component and can be customize with custom template.

Demo

Demo in example

Demo in stackblitz

Installation

npm i @tusharghoshbd/ngx-loader

Usage

app module

import { NgxLoaderModule } from '@tusharghoshbd/ngx-loader';

@NgModule({
  imports:      [ ...,  NgxLoaderModule ]
})

Html file

 <ngx-loader [show]="true" > Loading... </ngx-loader>

Features:

  • Fullscreen mode
  • Insider container mode (Parent container must be style position: relative)
  • Customize the template
  • Easy to integrate in component

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT