Scott Rippey
Scott Rippey

Reputation: 15810

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.

Upvotes: 15

Views: 5064

Answers (3)

Daniel Lewis
Daniel Lewis

Reputation: 2801

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

Upvotes: 5

Avinash R
Avinash R

Reputation: 3151

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.

Upvotes: 4

ajax333221
ajax333221

Reputation: 11754

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.

Upvotes: 12

Related Questions