3.0.4 • Published 3 months ago
@daelmaak/ngx-gallery v3.0.4
Ngx Gallery
Small, performant, responsive, dependency free, easy to use Angular 8+ gallery.
Installation
yarn add @daelmaak/ngx-gallery
Versioning
Gallery | Angular | Readme |
---|---|---|
3.x.x | >=16 | here |
2.x.x | >=13 | 2.1.0 |
<=1.x.x | >=8 <13 | 1.3.0 |
Usage
1. Import gallery into your component
import { GalleryComponent } from '@daelmaak/ngx-gallery';
@Component({
standalone: true,
imports: [GalleryComponent],
})
export class AppComponent {}
or into your module if you don't use standalone
import { GalleryComponent } from '@daelmaak/ngx-gallery';
@NgModule({
imports: [GalleryComponent],
})
export class AppModule {}
2. Create an image
import { GalleryItem } from '@daelmaak/ngx-gallery';
@Component({...})
export class AppComponent {
images: GalleryItem[] = [{ src: 'kitten1.jpg' }]
}
3. Render the gallery
<gallery [items]="images"></gallery>
Local development
yarn
yarn start # start demo app
yarn test
3.0.4
3 months ago
3.0.3
3 months ago
3.0.2
5 months ago
3.0.1
5 months ago
3.0.0-RC.9
8 months ago
3.0.0-RC.7
9 months ago
3.0.0-RC.8
9 months ago
3.0.0
7 months ago
3.0.0-RC.1
10 months ago
3.0.0-RC.2
10 months ago
3.0.0-RC.0
10 months ago
3.0.0-RC.11
8 months ago
3.0.0-RC.5
9 months ago
3.0.0-RC.10
8 months ago
3.0.0-RC.6
9 months ago
3.0.0-RC.3
9 months ago
2.1.0
10 months ago
3.0.0-RC.4
9 months ago
2.0.0
2 years ago
2.0.0-RC.0
2 years ago