我正在创建 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模板网!
用于创建头像的 jQuery/JavaScript 库?jQuery/JavaScript Library for avatar creation?(用于创建头像的 jQuery/JavaScript 库?)
如何做以下掩码输入问题?How to do following mask input problem?(如何做以下掩码输入问题?)
使用 DropKick Javascript 设置值/标签的问题Issues Setting Value/Label Using DropKick Javascript(使用 DropKick Javascript 设置值/标签的问题)
如何对 jquery 插件中的私有方法进行单元测试?how to unit-test private methods in jquery plugins?(如何对 jquery 插件中的私有方法进行单元测试?)
stellar.js - 为垂直滚动网站配置偏移量/对齐元素stellar.js - configuring offsets / aligning elements for a vertical scrolling website?(stellar.js - 为垂直滚动网站配置偏移量/对齐元素?)
jQuery 屏蔽输入插件.当文本框获得焦点时选择所有jQuery masked input plugin. select all content when textbox receives focus(jQuery 屏蔽输入插件.当文本框获得焦点时选择所有内容)