zz 65c8a28f48 项目初始化 3 天之前
..
dist 65c8a28f48 项目初始化 3 天之前
src 65c8a28f48 项目初始化 3 天之前
LICENSE 65c8a28f48 项目初始化 3 天之前
README.md 65c8a28f48 项目初始化 3 天之前
README_zh-CN.md 65c8a28f48 项目初始化 3 天之前
package.json 65c8a28f48 项目初始化 3 天之前

README.md

@better-scroll/indicators

中文文档

Indicator can be used to achieve magnifying glass, parallax scrolling and other effects.

Usage

import BScroll from '@better-scroll/core'
import Indicators from '@better-scroll/indicators'
BScroll.use(Indicators)

const bs = new BScroll('.wrapper', {
  indicators: [
    relationElement: someHTMLElement
  ]
})
interface IndicatorOptions {
  interactive?: boolean
  ratio?: Ratio
  relationElementHandleElementIndex?: number
  relationElement: HTMLElement
}