1.0.21 • Published 11 months ago

bibliolib-gallery v1.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
11 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

11 months ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years 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

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago