Skip to content

small javascript library for zooming into images on mouseover

Notifications You must be signed in to change notification settings

tenji73/img-zoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

show close up of images (zoom in)

an AngularJS directive to zoom into images.

Installation

using script tag

<script type="text/javascript" src="imgZoom.js"></script>

usage

add module "webcam" as dependency

angular.module('myApp', ['imgZoom'])

add the new element in HTML

<img-zoom src="url"></img-zoom>

optional css class can be passed to the image:

<img-zoom src="url" class="'gradient'"></img-zoom>

The code is licensed under the MIT License. @see LICENSE file

About

small javascript library for zooming into images on mouseover

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published