@ngx-imagery/gallery
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-beta.2 • Public • Published

Angular 8+ Image Gallery (Project moved to https://www.npmjs.com/package/ngx-doe-gallery)

Performant, responsive, easy to use gallery

Demo

Stackblitz

Docs

Installation

npm i -S @ngx-imagery/gallery@latest

Usage

In your ng module

import { GalleryModule } from '@ngx-imagery/gallery';

@NgModule({
  imports: [ GalleryModule ]
})
...

In your component class

import { GalleryItem } from '@ngx-imagery/gallery';

@Component({...})
export class AppComponent {
  images: GalleryItem[] = [
      {
        src: '/assets/kitten1.jpg'
      }
  ]
}

In your component template

<ngx-gallery [items]="images"></ngx-gallery>

Development

Install dependencies

In the root of the project, run

npm ci

Serve

npm start

Test

npm test

Package Sidebar

Install

npm i @ngx-imagery/gallery

Weekly Downloads

0

Version

0.1.0-beta.2

License

Apache-2.0

Unpacked Size

868 kB

Total Files

63

Last publish

Collaborators

  • daelmaak