2.0.2 • Published 7 years ago

ng-neo-loader v2.0.2

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

ng-neo-loader

Loader gif for angular

Installation

To install this library, run:

$ npm install ng-neo-loader --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
import { NeoLoaderModule } from 'ng-neo-loader';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify library as an import
    NeoLoaderModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }


// Import library in child module
import { NeoLoaderModule } from 'ng-neo-loader';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify library as an import
    NeoLoaderModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, you can use it component in your Angular application:

<!-- You can now use your library component in *.component.html -->
<app-loader></app-loader>

<h1>
  {{title}}
</h1>

License

MIT © Neocomplexx

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.0

8 years ago