jQuery Mobile 1.4.0 Beta 发布了,与 RC2 版本比较,该版本主要改进包括:
- 新特性:Setting data-defaults=”true” will skip checking of data-attributes for widget options
- 变化:Classes “ui-icon-nodisc” and “ui-icon-alt” have been renamed to ui-nodisc-icon and ui-alt-icon, because using the same naming structure as for icon classes (ui-icon-search, ui-icon-delete, etc.) was causing conflicts.
- 变化:Default for panel option theme is now null (inherit) instead of “a”.
- 变化:Widgets outside pages inherited the theme from the overlay but we reverted this change because of conflicts during transitions. You have to set a theme for widgets outside a page.
- 变化:Renamed content widget to pagecontainer widget
- 废弃 class ui-hide-label (was meant to be used with field containers). Basically it negated the effect of field containers so you get the same result by not using field containers and adding class ui-hidden-accessible to the label.
- 废弃 $.mobile.activePageClass, $.mobile.activeBtnClass, $.mobile.focusClass
- 废弃 buttonMarkup method
- 废弃 table-stroke and table-stripe classes
- 废弃 $.mobile.getDocumentUrl and $.mobile.getDocumentBase – both are available from $.mobile.path
- 废弃 $.mobile.activePage. Use the getActivePage method on content widget or activePage property
完整列表请看这里。
下载地址:jquery.mobile-1.4.0-beta.1.zip
jQuery Mobile 的详细介绍:请点这里
jQuery Mobile 的下载地址:请点这里
相关阅读:
jQuery Mobile权威指南 PDF+源码 http://www.linuxidc.com/Linux/2013-09/90318.htm
