JQuery 3.0 Alpha released, Deferred compatible with Promise

Source: Internet
Author: User
Tags jquery cdn

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:

  • Https://code.jquery.com/jquery-3.0.0-alpha1.js

  • Https://code.jquery.com/jquery-compat-3.0.0-alpha1.js

Install with npm:

 
 
  1. npm install jquery@3.0.0-alpha1 
  2. 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,.unloadAnd.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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.