Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the documentation for the "jQuery.event.special" API (for custom events)?

I'm creating a fork of the textchange jQuery plugin, which uses the jQuery.event.special API to create its own custom events (textchange, hastext, and notext).

I'm going crazy trying to find the documentation for the $.event.special API! I've searched jQuery's site and found nothing that mentions the special functionality. I've found several blogs that talk about API and even reference a link to it, but that page does not talk about it at all.

Can someone please point me toward some documentation for this "special" API? I'm mainly interested in jQuery's documentation, because I want to know the "official" source of this API.

UPDATE:

I looked at jQuery's source, and they use the $.event.special API for certain events (including ready and hover), so it's obviously not obsolete as I previously thought.

like image 369
Scott Rippey Avatar asked Jan 19 '12 00:01

Scott Rippey


3 Answers

http://benalman.com/news/2010/03/jquery-special-events/

The site seems to be well documented and should have everything you should ever need to know about the jQuery Special Events.

like image 152
ajax333221 Avatar answered Nov 19 '22 01:11

ajax333221


There is some official documentation here: http://learn.jquery.com/events/event-extensions/

like image 34
Daniel Lewis Avatar answered Nov 19 '22 01:11

Daniel Lewis


Although it is true that there hasn't been any Official documentation on the jQuery.event.special there is a beta tutorial (as of March 19 2013) documentation at learn.jquery.com since jQuery 1.7.

For anyone following older jQuery(prior to 1.7) should find it as Ben Alman's article.

Side Note: Ben Alman's article is also mentioned in the official tutorial.

like image 4
Avinash R Avatar answered Nov 19 '22 02:11

Avinash R