問題描述
我正在創建 textchange
jQuery 插件,它使用 jQuery.event.special
API 創建自己的自定義事件(textchange
、hastext
、和 notext
).
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
).
我要為 $.event.special
API 查找 文檔 快瘋了!我搜索了 jQuery 的網站,沒有發現任何提及 special
功能的內容.我發現了幾個討論 API 的博客,甚至參考了 一個鏈接,但該頁面根本沒有談論它.
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.
有人可以指點我有關此特殊"的一些文檔嗎?應用程序接口?我主要對jQuery的文檔感興趣,因為我想知道官方"的此 API 的來源.
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.
我查看了 jQuery 的源代碼,他們使用 $.event.special
API 處理某些事件(包括 ready
和 hover
),所以它顯然沒有像我之前想象的那樣過時.
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.
推薦答案
http://benalman.com/news/2010/03/jquery-special-events/
該網站似乎有很好的文檔記錄,并且應該包含您應該了解的有關 jQuery 特別活動的所有信息.
The site seems to be well documented and should have everything you should ever need to know about the jQuery Special Events.
這篇關于“jQuery.event.special"的文檔在哪里?API(用于自定義事件)?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!