nishantmc / angular-zoom

A angular zoom library for images based on zoom.js
MIT License
16 stars 4 forks source link
angular5 image javascript typescript zoom

angular-zoom npm version

A angular zoom library for images based on zoom.js

Features

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="https://github.com/nishantmc/angular-zoom/raw/master/./assets/images/palm.jpg" zoom>