@ecodev/angular-natural-gallery
Wrapper for @ecodev/natural-gallery-js
Installation
To install this library, run with yarn:
$ yarn add @ecodev/angular-natural-gallery
Consuming your library in your Angular `AppModule
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { NaturalGalleryModule } from '@ecodev/angular-natural-gallery';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NaturalGalleryModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Once your library is imported, you can use its components, directives and pipes in your Angular application:
<natural-gallery></natural-gallery>
Development
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ yarn prod
To lint all *.ts
files:
$ yarn lint
License
MIT © Samuel Baptista