angular-natural-gallery
/
13.0.1
angular-natural-gallery 13.0.1
Install from the command line:
Learn more about npm packages
$ npm install @ecodev/angular-natural-gallery@13.0.1
Install via package.json:
"@ecodev/angular-natural-gallery": "13.0.1"
About this version
Thin wrapper for @ecodev/natural-gallery-js.
To install this library, run:
$ yarn add @ecodev/angular-natural-gallery
import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {AppComponent} from './app.component';
// Import the library
import {NaturalGalleryModule} from '@ecodev/angular-natural-gallery';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
// Specify the library as an import
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>
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ yarn prod
To lint all *.ts
files:
$ yarn lint
MIT © Samuel Baptista