📜 ⬆️ ⬇️

JQuery Mobile Alpha 4 released

jquery mobile Yesterday the fourth alpha version of the mobile version of the popular jQuery Mobile framework was released. As the developers themselves write , this is the last alpha release. In the new release, the main focus of the work was on improving performance, more than 150 problems from A3 were also fixed, and several new features were added.

Platform Support

First of all, jQuery Mobile A4 now supports WP7 . And now it works on almost all modern mobile OS:


Meta data

The jqmData () method has been added, which is an advanced jQuery.data () method that supports namespaces.

Normalized Event System

The new version of jQuery Mobile presents virtual mouse events that are designed to save developers from having to intercept different events depending on the user's platform (for example, Android and Blackberry caused both touch and mouse events).
')
PhoneGap improvements

The addressing bugs present in A3 have been fixed. Also, the $ .mobile.allowCrossDomainPages flag was added, which will allow you to load JQM pages from other domains. Such queries can now be executed as follows: file: //dir1/dir2/myPhoneGapApp.html#https: //myHomeServer.com/dir1/dir2/foo

Forms in the form of lists

At the request of the developers, the ability to create forms in the form of lists was added. Now all you need to do is to enclose the list with the <form> tag and add a label element to each element of the form.

Custom string values

The first step to i18n support was the ability to change the values ​​of the strings for the download dialogs, errors, the placeholder for the search field and the automatically added back button.

Loading

There are two ways to get jQuery Mobile A4:
1. Embed code into your site, with a link to the jQuery server.
Javascript:
Uncompressed: jquery-mobile-1.0a4.js (130KB)
Minified and Gzipped: jquery-mobile-1.0a4.min.js (19KB)

CSS:
Uncompressed: jquery-mobile-1.0a4.css (53KB)
Minified and Gzipped: jquery-mobile-1.0a4.min.css (7KB)

Code for copyipist:
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.css" /><br/><script src="http://code.jquery.com/jquery-1.5.2.min.js"></script><br/><script src="http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.js"></script>
2. Download all one ZIP archive jquery-mobile-1.0a4.zip (javascript, css, and images)

Source: https://habr.com/ru/post/116678/


All Articles