0.2.2 • Published 4 months ago
bibliolib-gallery v0.2.2
Bibliolib-gallery
Simple social media gallery for angular apps.
Installation
npm install bibliolib-gallery
Usage
Import the module in your app module:
import { BibliolibGalleryModule } from "bibliolib-gallery";
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, BibliolibGalleryModule],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}
Use the component in your app:
<bibliolib-gallery [photoList]="images" [currentPhotoZoomGallery]="zoomImages"></bibliolib-gallery>
import { Component } from "@angular/core";
@Component({
selector: "app-root",
templateUrl: "./app.component.html",
styleUrls: ["./app.component.scss"],
})
export class AppComponent {
// List of urls images to display
images: string[] = ["url1", "url2"];
// list of urls images to display in zoom gallery (optional)
// if not provided, the zoom gallery will display the same images as the main gallery
zoomImages: string[] = ["url1", "url2"];
constructor() {}
}
License
MIT
Author
0.2.2
4 months ago
0.2.1
6 months ago
0.2.0
6 months ago
0.1.8
6 months ago
0.1.7
10 months ago
0.1.6
10 months ago
0.1.5
11 months ago
0.1.4
11 months ago
0.1.3
11 months ago
0.1.2
11 months ago
0.1.1
11 months ago
0.1.0
11 months ago
0.0.9
11 months ago
0.0.8
11 months ago
0.0.7
11 months ago
0.0.6
11 months ago
0.0.5
11 months ago
0.0.4
11 months ago
0.0.3
11 months ago
0.0.2
11 months ago
0.0.1
11 months ago