pinch-zoom directive for AngularJS
Branch: master
Clone or download
Latest commit 23bc358 Jan 24, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist bugfix for jQuery Jan 24, 2016
src bugfix for jQuery Jan 24, 2016
.editorconfig First commit Aug 26, 2015
.gitignore
Gulpfile.js First commit Aug 26, 2015
LICENSE First commit Aug 26, 2015
README.md Updated README to reflect ng-src attribute. Oct 5, 2015
bower.json
package.json

README.md

angular-pinch-zoom

angular-pinch-zoom can easily zoom image by pinch gesture for AngularJS.

Demo

Usage

Module Name

  • ngPinchZoom

Directive

  • ng-pinch-zoom

Example

  • Static Image:
<img src=“image.jpg” width=“320” height=“320” alt=“” ng-pinch-zoom max-scale=“4”>
  • Angular Supplied Image $scope.image
<img ng-src=“{{image}}” width=“320” height=“320” alt=“” ng-pinch-zoom max-scale=“4”>

max-scale is optional. (default: 3)

Support

AngularJS

  • 1.2.x +

Devices

  • Android 4.x +
  • iOS 5.x +

License

The MIT License (MIT)