红联Linux门户
Linux帮助

jQuery Mobile 1.4.0 Beta发布

发布时间:2013-09-25 09:14:27来源:红联作者:empast
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

完整列表请看http://jquerymobile.com/blog/2013/09/24/announcing-jquery-mobile-1-4-beta/#features

下载地址:http://jquerymobile.com/resources/download/jquery.mobile-1.4.0-beta.1.zip

来自:开源中国社区
文章评论

共有 0 条评论