0.0.0 • Published 9 months ago

@aurora-design/my-scroll-zoom v0.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@better-scroll/pull-up

中文文档

Plugin for zooming in or out.

Usage

import BScroll from '@better-scroll/core'
import Zoom from '@better-scroll/zoom'
BScroll.use(Zoom)

const bs = new BScroll('.zoom-wrapper', {
  freeScroll: true,
  scrollX: true,
  scrollY: true,
  disableMouse: true,
  useTransition: true,
  zoom: {
    start: 1,
    min: 0.5,
    max: 2
  }
})