1.3.0 • Published 4 years ago
qhr-scroll-index v1.3.0
qhr-scroll-index
获取滚动模块的下标
Usage
import MyUtil from 'qhr-scroll-index'
const myUtil = new MyUtil();
myUtil.getIndex({
ids: ['a', 'aa', 'aaa', 'aaaa', 'aaaaa'],
option: this.observerOpt,
callBack: this.getCurrentCB
})