Reputation: 313
I was reading through a jQuery plugin and found a weird event(at lease to me) expression like following:
$(this).find('ul:first').bind('scroll.sticky', function(e) {
//some code;
});
The question is what does ".sticky" mean? I only know the "scroll" part. I tried to search jQuery document but didn't found anything. Can you point me the right page?
Thanks a lot.
Upvotes: 30
Views: 5795
Reputation: 54649
Those are namespaced events.
Ref: https://api.jquery.com/event.namespace/
Upvotes: 33