“jQuery.event.special”的文档在哪里? API(用于自定义事件)? [英] Where is the documentation for the "jQuery.event.special" API (for custom events)?

查看:80
本文介绍了“jQuery.event.special”的文档在哪里? API(用于自定义事件)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建 的分支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 文档 c> API!我搜索过jQuery的网站,发现没有提到特殊的功能。我发现有几个博客谈论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.

有人可以指点我这个特殊API的一些文档吗?我主要对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 悬停),所以它显然没有像我之前想象的那样过时。

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(用于自定义事件)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆