Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 909 Bytes

File metadata and controls

44 lines (29 loc) · 909 Bytes

@ecodev/angular-natural-gallery

Build Status

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

Installation

To install this library, run:

pnpm 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:

$ pnpm prod

To lint all *.ts files:

$ pnpm lint

License

MIT © Samuel Baptista