Zynga Scroller 是一個用于簡化網頁上的滾動和縮放操作的 JS 庫。
功能特性
- Customizable enabling/disabling of scrolling for x-axis and y-axis
- Deceleration (decelerates when user action ends in motion)
- Bouncing (bounces back on the edges)
- Paging (snap to full page width/height)
- Snapping (snap to an user definable pixel grid)
- Zooming (automatic centered zooming or based on a point in the view with configurable min/max zoom)
- Locking (locks drag direction based on initial movement)
- Configurable regarding whether animation should be used.
本文由用戶 碼頭工人自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!