Framework7 3.4.0 发布了,Framework7 是一个开源的全功能 HTML 框架,用于构建具有 iOS 和 Android 原生外观的混合移动应用程序或 Web 应用程序。同时 Framework7 也是独立的原型应用工具。Framework7 并不与所有平台兼容,它更多地专注于 iOS 和 Google Material 设计,带来最佳体验和简单性。
此次更新内容包括:
- Core
- Added new
statusbar
app parameters: - Added new
app.statusbar
app methods: androidOverlaysWebView
(by defaultfalse
)androidTextColor
(by defaultblack
)androidBackgroundColor
(by defaultnull
)app.statusbar.overlaysWebView(overlays)
app.statusbar.setTextColor(color)
- New Route’s
modules
parameter to load F7 modules before entering the route - Added support to load F7 modules during runtime with new app methods:
- New
lazyModulesPath
app parameter to specify lazy modules location - New lazy component files in
lazy-components/
package folder - New
js/framework7-lazy.js
script containing core version of Framework7 - New
css/framework7-lazy.css
styles containing core version of Framework7 - New
app.loadModule(module)
method to load F7 module - New
app.loadModules([module])
method to load array of F7 modules - Lazy modules support
- Router
- Statusbar
- Added new
- Phenome
- Lots of TypeScript definitions fixes and tweaks
- Minor fixes
下载地址:
- framework7-react.tar.gz
- framework7-vue.tar.gz
- framework7.tar.gz
- Source code (zip)
- Source code (tar.gz)
转自 https://www.oschina.net/news/100397/framework7-3-4-0-released