Zynga Scroller 是一個用于簡化網頁上的滾動和縮放操作的 JS 庫。

功能特性

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