vue-scroller icon indicating copy to clipboard operation
vue-scroller copied to clipboard

建议新增一个滚动事件监听 onScroll

Open 806808586 opened this issue 7 years ago • 4 comments

@wangdahoo render.js里新增一个回调

return function (left, top, zoom) {
  if (typeof callback === 'function') {
    callback({
      left:left,
      top:top,
      zoom:zoom
    })
  }
  content.style[transformProperty] = 'translate3d(' + (-left) + 'px,' + (-top) + 'px,0) scale(' + zoom + ')'
}

可以参考下

806808586 avatar Aug 28 '17 03:08 806808586

这个可以有

wangdahoo avatar Sep 19 '17 02:09 wangdahoo

@wangdahoo 最新版已经有了吗?确实是需要啊

xeoshow avatar Sep 28 '17 10:09 xeoshow

下面issue也是说要这个功能啊: https://github.com/wangdahoo/vue-scroller/issues/141

xeoshow avatar Sep 28 '17 11:09 xeoshow

确实需要监听滚动条

SheepMie avatar Oct 12 '17 06:10 SheepMie