angular-zoom
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i angular-zoom

Weekly Downloads

19

Version

0.0.5

License

MIT

Unpacked Size

14.3 MB

Total Files

10

Last publish

Collaborators

  • nishantmc