@ecodev/angular-natural-gallery
v21.0.0
Published
[![Build Status](https://github.com/Ecodev/angular-natural-gallery/workflows/main/badge.svg)](https://github.com/Ecodev/angular-natural-gallery/actions)
Downloads
123
Readme
@ecodev/angular-natural-gallery
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>',
standalone: true,
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