react 鼠標滾輪事件

jshtml handleScroll(e) { const ele = rdom.findDOMNode(this); if (e.nativeEvent.deltaY <= 0) { if (ele.scrollTop <= 0) { e.preventDefault(); console.log("up"); }
相關文章
相關標籤/搜索