# angular-zoom

> A angular zoom library for images based on zoom.js

Latest version **0.0.5** (published 2018-02-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-zoom
pnpm add angular-zoom
yarn add angular-zoom
bun add angular-zoom
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; large bundle; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2018-02-17 |
| First published | 2018-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Maintainers | nishantmc |

## Links

- npm: https://www.npmjs.com/package/angular-zoom
- Repository: https://github.com/nishantmc/angular-zoom
- Homepage: https://github.com/nishantmc/angular-zoom#readme
- Issues: https://github.com/nishantmc/angular-zoom/issues
- npm.io page: https://npm.io/package/angular-zoom

## Dependencies (2)

- [@angular/core](https://npm.io/package/@angular/core.md) >5.0.0
- [@angular/common](https://npm.io/package/@angular/common.md) >5.0.0

## Recent versions

- 0.0.5 (latest) — 2018-02-17
- 0.0.4 — 2018-02-16
- 0.0.3 — 2018-02-16
- 0.0.2 — 2018-02-16
- 0.0.1 — 2018-02-14

## README

# angular-zoom [![npm version](https://badge.fury.io/js/angular-zoom.svg)](https://badge.fury.io/js/angular-zoom)
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](https://nishantmc.github.io/angular-zoom.github.io/)

![Screenshot](zoomDemo.gif)
### Installation

```bash
yarn add angular-zoom --save

# OR

npm install angular-zoom --save
```

### Setup

Import ZoomModule

```js
import { ZoomModule } from 'angular-zoom';

@NgModule({ imports: [ ZoomModule ] })
```

Then add zoom directive to img elements

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

---
_Source: https://npm.io/package/angular-zoom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
