ngx-loaders
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

ngx-loaders

npm version

Small lightweight loading indicator components.

Demo

Installation

To install this library, run:

$ npm install ngx-loaders --save

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
 
// Import library module
import { NgxLoadersModule } from 'ngx-loaders';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    // Register module
    NgxLoadersModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Component

Once the library is imported, you can use the ngx-loaders components.

Template

<ngx-loading-spinner mini></ngx-loading-spinner>
<ngx-loading-spinner small></ngx-loading-spinner>
<ngx-loading-spinner></ngx-loading-spinner>
<ngx-loading-spinner light></ngx-loading-spinner>
<ngx-loading-bar></ngx-loading-bar>

License

MIT © Cory Rylan

Readme

Keywords

none

Package Sidebar

Install

npm i ngx-loaders

Weekly Downloads

0

Version

0.0.0

License

MIT

Unpacked Size

76.4 kB

Total Files

16

Last publish

Collaborators

  • splintercode