Skip to content

A angular zoom library for images based on zoom.js

License

Notifications You must be signed in to change notification settings

dgsqrs/angular-zoom

 
 

Repository files navigation

angular-zoom npm version

A angular zoom library for images based on zoom.js

Features

  • Smooth transition of image to the original size
  • After clicking the image to zoom in, ESC key | scroll away | Mouse click - to zoom out

Demo

Screenshot

Installation

yarn add angular-zoom --save

# OR

npm install angular-zoom --save

Setup

Import ZoomModule

import { ZoomModule } from 'angular-zoom';

@NgModule({ imports: [ ZoomModule ] })

Then add zoom directive to img elements

<img src="../assets/images/palm.jpg" zoom>

About

A angular zoom library for images based on zoom.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 41.4%
  • JavaScript 31.6%
  • HTML 23.8%
  • CSS 3.2%