@ngx-imagery/gallery
v0.1.0-beta.2
Published
Performant, responsive, easy to use gallery
Downloads
2
Readme
Angular 8+ Image Gallery (Project moved to https://www.npmjs.com/package/ngx-doe-gallery)
Performant, responsive, easy to use gallery
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