Detect jquery event trigger by user or call by code

后端 未结 2 1922
情深已故
情深已故 2020-12-28 22:45

I have some window.onscroll event

$(window).scroll(function(e){
    //My Stuff
});

but in my code I call animate scroll to som

2条回答
  •  梦谈多话
    2020-12-28 23:29

    ive reasked this question and got 2 helpful answers.
    i'll link the question here for others who'll find this thread.

    Detect if a scroll event is triggered manually in jQuery

提交回复
热议问题