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.

AGamePlayer
  • 7,404
  • 19
  • 62
  • 119

0 Answers0