0.1.5 • Published 3 years ago

ngga-loadable v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

NggaLoadable

Component that can show a loading spinner for angular applications

Install

npm install ngga-loadable --save

Setup

Step 1: Install library

npm i ngga-loadable --save

Step: 2: Import NggaLoadableModule to your app NgModule

import { CommonModule } from '@angular/common';

import { NggaLoadableModule } from 'ngga-loadable';

@NgModule({
  imports: [
  CommonModule,
    NggaLoadableModule    // <--- Import NggaLoadableModule
  ]
})
export class AppModule { }

Use

import { Component } from '@angular/core';

@Component({
  template: `
    <ngga-loadable [loading]="loading">
      <div>
        <!-- Content Here -->
      </div>
    </ngga-loadable>
  `
})
export class MyComponent {
  loading: boolean = false;
}

Licennse

MIT


0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago