angular 指令中未触发绑定滚动事件

Bind scroll event is not trigger in angular directive

你好,我在 angularjs1 工作。我为我的应用程序创建了指令,现在我需要在该指令中绑定滚动事件。在该指令中,绑定 WHEEL 事件在桌面上正确触发,但在移动设备或平板电脑上不起作用,所以我使用 scroll 绑定。但它甚至不工作桌面
车轮

 link: function (scope, element, attrs) {
element.bind('wheel', function (e) {
    console.log("scrolling..."); //its work in Desktop
});
})   

滚动

link: function (scope, element, attrs) {
element.bind('scroll', function (e) {
    console.log("scrolling..."); //its not work 
});
}) 

我该如何处理,然后 ng - 点击 scroll top 也没有 working.if 我需要初始化一些东西 对于滚动事件

您是否尝试过移动设备的 touchmove 事件?

 element.bind('touchmove', function (e)
 {
        console.log("scrolling...");
 });