0.2.1 • Published 4 years ago

view-image-ng v0.2.1

Weekly downloads
9
License
MIT
Repository
-
Last release
4 years ago

view-image-ng

View your image in full screen with zoom & swipe.
For angular9+ projects

preview

How to use

Install package

npm i view-image-ng

Import package to your module

import { ViewImageModule } from 'view-image-ng';
@NgModule({
  ...
  imports: [..., ViewImageModule],
  ...
})

Use component

<view-images [images]="[{src: 'your image url'}]"></view-images>

Params

  • images: array of images with src a url
  • index: index of starting image. Default 0

Events

  • (dismiss): triggered if image pushed away
  • (click): triggered if next to the picture is clicked for a backdrop
0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago