Web移動端框架,Framework7 1.3.0 發布
Framework7 或者叫 F7 是全功能的綁定 iOS 7 應用的 HTML 框架。Framework7 是免費開源的 HTML 移動端框架,用來開發混合移動端應用或者 iOS 7 的 Web 應用,并且帶有 iOS 7 的原生外觀和感覺。Framework7 也是獨立的原型應用工具。
Framework7 使用 Javascript,CSS 和 HTML 來創建 iOS 7 應用,支持多個平臺的遷移(PhoneGap),但是不是支持所有平臺,主要還是針對 iOS 7。
使用
1. Clone 或者下載 Framework7 庫
2. 修改 Kitchen Sink 綁定到應用中,或者從 dist/ 下的文件夾綁定
Framework7 1.3.0 發布,此版本更新內容如下:
-
iOS Theme
-
For desktops - using San Francisco font that can be downloaded from https://developer.apple.com/fonts/
-
For iOS - using system San Francisco font
-
New appearence to match new iOS 9 design, mostly for Overlays: Modal, Popover and Action Sheet
-
Support for new San Francisco font:
-
Fixed issue with switch toggle in RTL layout
-
Material Theme
-
dynamicNavbarwill be disabled automatically for this theme -
Added
no-rippleclass to disable ripple effect on specific elements -
Fixed issue with floating labels with predefined values
-
Fixed behavior of hidden toolbars/tabbars
-
Fixed issue in RTL layout for tab bar
-
Smart Select
-
Using
data-open-in="picker"attribute orsmartSelectOpenInapp's parameter -
Picker close button text can be specified:
-
Smart Select picker height can be controlled using
data-picker-heightattribute -
Using
data-picker-close-textattribute -
New app's
smartSelectPickerCloseTextparameter. By default isDone -
App's
smartSelectInPopupparameter is removed -
Added new app's
smartSelectOpenInparameter. Can bepage,popuporpicker. By default ispage -
Added option to open it in picker:
-
Added support for none-standard
maxlengthattribute on<select>element to limit amount of selected items for "multiple" select -
Dom7
-
New
prependTo(parent)method to prepend element to parent -
New
appendTo(parent)method to append element to parent -
Ajax: added support for data types different from "text", like "arraybuffer" and others
-
$.serializeObjectmethod now supports deep objects with objects and arrays -
Swipeout
-
Now overswipe-button will have additonal "swipeout-overswipe-active" class during overswipe
-
New
data-close-on-cancel="true"attribute for "swipeout-delete" buttons withdata-confirmto close swipeout element in case of user canceled confirm dialog -
Photo Browser
-
Double tap to zoom now zooms to the tapped position, not only to the center of picture
-
Messagebar
-
Now when you type new message it will scroll messages pages to bottom only in case if you are in the bottom of this page
-
Picker
-
Added
closeByOutsideClickparameter to close picker automatically when you click outside of related input or picker. By default istrue -
Now it will set related input's value on initialization with specified value
-
Calendar
-
Added
closeByOutsideClickparameter to close picker automatically when you click outside of related input or picker. By default istrue -
Now it will set related input's value on initialization with specified value
-
New
disabledparameter to specify additional "disabled" days -
New
eventsparameter to specify dates with "events" (will be marked with additional dots) -
New
rangesClassesparameter to easily add custom classes to specified dates -
Pull To Refresh
-
New events
pullstart,pullmove,pullendandrefreshdone -
Forms
-
Better cross-browser support for
input[type="range"]element -
Virtual List
-
Fixed issue with size and scroll calculating when initialized in hidden tab
-
Fixed issue with size and scroll calculating when used not in page
-
Searchbar
-
Fixed issue with close button when initialized in hidden tab
-
Lazy Loading
-
Fixed issue with lazy loading in hidden tab
-
Template7 update to latest 1.1.0 version:
-
Fixed access to data (
@index,@key) and root context (@root) in partials -
Fixed
nullvariables not to be outputed -
Swiper updated to latest 3.1.7 version:
-
scrollbarDraggable- (boolean) by default isfalse. Allows to enable draggable scrollbar -
scrollbarSnapOnRelease- (boolean) by default isfalse. Control slider snap on scrollbar release -
Fixed issue with wrong slides fill when number of slides less than
slidesPerView * slidesPerColumnwithslidesPerColumnFill: 'row' -
Added support for images
srcsetwith lazy loading usingdata-srcsetattribute -
Fixed new Chrome errors with
WebkitCSSMatrix -
Fixed issue with
slideToClickedSlidewithloopandcenteredSlides -
New
freeModeMinimumVelocityparameter to set minimum required touch velocity to trigger free mode momentum -
Ability to make the Scrollbar draggable using new paramaters:
-
Router
-
Now precompiled/cached tamplates will be ignored in case of
ignoreCache: trueparameter -
Fixed issue with
domCachewhen going back withforce:trueto home page -
Lot of minor fixes and improvements
下載:https://github.com/nolimits4web/Framework7/archive/v1.3.0.zip。