vue-gemini-scrollbar icon indicating copy to clipboard operation
vue-gemini-scrollbar copied to clipboard

怎么监听 滚动事件啊?

Open dongwenxu opened this issue 5 years ago • 2 comments

dongwenxu avatar Nov 14 '19 09:11 dongwenxu

同问,监听不了滚动事件

hen0920 avatar Dec 20 '19 03:12 hen0920

用这种方式生成滚动条 var scrollbar = new Vue.$geminiScrollbar({ element: document.body }).create(); 然后scrollbar.getViewElement()拿到滚动元素去做监听

EightFlying avatar Dec 13 '21 03:12 EightFlying