1.0.21 • Published 5 months ago

bibliolib-gallery v1.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

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

github: @reyvaxreecded

1.0.21

5 months ago

1.0.2

7 months ago

1.0.1

1 year ago

1.0.0

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago