0.0.0 • Published 5 months ago
@aurora-design/my-scroll-indicators v0.0.0
@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
}
0.0.0
5 months ago