红联Linux门户
Linux帮助

jQuery 3.2.0发布,支持自定义CSS属性

发布时间:2017-03-17 09:21:40来源:红联作者:baihuo
jQuery 3.2.0 发布了,此版本包括一些错误修复,改进和一些弃用,如果从 jQuery 3.0+ 升级,应该不会存在兼容性问题。

如果尚未升级到 jQuery 3+,请查看 3.0 升级指南jQuery Migrate 3.0 插件将帮助你识别代码中的兼容性问题。

值得关注的更新:

Added support for custom CSS properties

Deprecated jQuery.holdReady

Deprecated jQuery.nodeName

Deprecated jQuery.inArray

Fixed a bug in .width(), .height(), and related methods where CSS transforms were included in the calculations. For instance, an element with the style transform: scale(2x) should not have its width and height values doubled

Added support for