@ecodev/angular-natural-gallery
Thin wrapper for @ecodev/natural-gallery-js.
Installation
To install this library, run:
$ 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 the 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