 
						注意请在移动端查看效果
要求
jQuery or Zepto.
ECMA 5 support
初始化
| 1 | newPinchZoom($('#your-element'), options); | 
选项
| 1 2 3 4 5 6 | tapZoomFactor:      The zoom factor a double tap zooms to. (default 2)zoomOutFactor:      Resizes to original size when zoom factor is below the configured value. (default 1.3)animationDuration:  The animation duration in milliseconds. (default 300)maxZoom:            The maximum zoom factor. (default 4)minZoom:            The minimum zoom factor. (default 0.5)lockDragAxis        Locks panning of the element to a single axis. (default false) | 
事件
| 1 2 3 4 5 6 | Pinchzoom 发出一些自定义的事件pz_zoomstart  Started to zoompz_zoomend    Stopped zoomingpz_dragstart  Started to drag the elementpz_dragend    Stopped to drag the elementpz_doubletap  Resetting the zoom with doubletab | 
方法
| 1 2 | enable:             Enables all gesture capturing (default)disable:            Disables all gesture capturing | 
特别申明:
			本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
			本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
			如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com