Ecodev / angular-natural-gallery

Angular wrapper for @ecodev/natural-gallery-js

Home Page:https://www.npmjs.com/package/@ecodev/angular-natural-gallery

Repository from Github https://github.comEcodev/angular-natural-galleryRepository from Github https://github.comEcodev/angular-natural-gallery

@ecodev/angular-natural-gallery

Build Status

Thin wrapper for @ecodev/natural-gallery-js.

Installation

To install this library, run:

yarn add @ecodev/angular-natural-gallery

Consuming the library

In your standalone component, import NaturalGalleryComponent:

@Component({
  selector: 'app-root',
  template: '<natural-gallery [options]="{rowHeight: 400}"></natural-gallery>',
  imports: [NaturalGalleryComponent],
})
export class AppComponent {}

Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ yarn prod

To lint all *.ts files:

$ yarn lint

License

MIT © Samuel Baptista

About

Angular wrapper for @ecodev/natural-gallery-js

https://www.npmjs.com/package/@ecodev/angular-natural-gallery

License:MIT License


Languages

Language:TypeScript 98.4%Language:JavaScript 1.2%Language:SCSS 0.2%Language:HTML 0.1%