JQuery 3.0 Alpha released, Deferred compatible with Promise
JQuery 3.0 preview version is released. This version is the first Alpha preview version of jQuery 3.0! Major features of this version: Support for modern browsers and IE9 environments. Also released the jQuery Compat 3.0 Alpha version, which has the following features: Support for IE8!
Both jQuery 3.0 Alpha and jQuery Compat 3.0 Alpha support Yandex. A browser released in 2012 can be downloaded directly from jQuery CDN or here:
Install with npm:
- npm install jquery@3.0.0-alpha1
- npm install jquery-compat@3.0.0-alpha1
This version can be upgraded using the jQuery migration plug-in.
Noteworthy features
-
Simplified.show()
And.hide()
Method
-
Modify.data()
Name, update.data()
To better match HTML5 dataset specifications.
-
JQuery. Deferred is now compatible with Promises/A + and ES2015
-
If the style table is set to display: none, show () cannot display this element.
-
Remove the specific Deferred method of jQuery. ajax
-
Error reminder added for trial
-
. Width (),. height (),. css ("width") and. css ("height") can return small values.
-
Remove obsolete event aliases.load
,.unload
And.error
)
-
You cannot access jQuery. swap, jQuery. buildFragment, and jQuery. domManip in the jQuery object.
-
Animations is currently usedrequestAnimationFrame
-
. Unwrap (selector)
-
Greatly improving the speed of jQuery custom Selector
For more information, see the release notes.
Related Links
- JQuery details: click here
- JQuery: click here