0

Well, I have already used this "bind & unbind custom function" feature from jQuery, from this answer:

$(window).bind("scroll.myScroll", function(){
  // stuff
})

And unbind this custom function:

$(window).unbind('.myScroll');

But when I tried to search the source code of this magic feature, I can't find any reference. I have both tried the official document and unofficial ones from Google.

Is there any way that I can view it? Just want to know how jQuery implement this.

3
  • 1
    have you tried to open a un-minified jquery file? Commented Sep 6, 2019 at 5:18
  • 1
    related stackoverflow.com/questions/21817397/… Commented Sep 6, 2019 at 5:26
  • The question did answer all my confusions. Thanks! Commented Sep 6, 2019 at 5:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.