“jQuery.event.special"的文档在哪里?API(用于自定义事件)?

Where is the documentation for the quot;jQuery.event.specialquot; API (for custom events)?(“jQuery.event.special的文档在哪里?API(用于自定义事件)?)
本文介绍了“jQuery.event.special"的文档在哪里?API(用于自定义事件)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我正在创建 textchange jQuery 插件,它使用 jQuery.event.special API 创建自己的自定义事件(textchangehastext、和 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 处理某些事件(包括 readyhover),所以它显然没有像我之前想象的那样过时.

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

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

在开发JS过程中,会经常遇到两个小数相运算的情况,但是运算结果却与预期不同,调试一下发现计算结果竟然有那么长一串尾巴。如下图所示: 产生原因: JavaScript对小数运算会先转成二进制,运算完毕再转回十进制,过程中会有丢失,不过不是所有的小数间运算会
append() 方法在被选元素的结尾(仍然在内部)插入指定内容。 语法: $(selector).append( content ) var creatPrintList = function(data){ var innerHtml = ""; for(var i =0;i data.length;i++){ innerHtml +="li class='contentLi'"; innerHtml +="a href
问题描述: 在javascript中引用js代码,然后导致反斜杠丢失,发现字符串中的所有\信息丢失。比如在js中引用input type=text onkeyup=value=value.replace(/[^\d]/g,) ,结果导致正则表达式中的\丢失。 问题原因: 该字符串含有\,javascript对字符串进行了转
Rails/Javascript: How to inject rails variables into (very) simple javascript(Rails/Javascript:如何将 rails 变量注入(非常)简单的 javascript)
CoffeeScript always returns in anonymous function(CoffeeScript 总是以匿名函数返回)
Ordinals in words javascript(javascript中的序数)