设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Framework7 v1.5.0发布,HTML移动端框架

2016-11-9 22:40| 发布者: joejoe0332| 查看: 693| 评论: 0|原作者: oschina|来自: oschina

摘要: Framework7 v1.5.0 发布了,该版本部分更新内容如下:App RootNewrootapp parameter to specify app root element, by default is'body'. Useful when using F7 with libraries like Vue or React that doesn't allo ...

Framework7 v1.5.0 发布了,该版本部分更新内容如下:

  • App Root

    • New root app parameter to specify app root element, by default is 'body'. Useful when using F7 with libraries like Vue or React that doesn't allow to bind app to the body.

  • 图标

    • Brand new Framework7 Icons font with lot of precious and designed from scratch iOS icons

    • Default "Form" icons removed in favor of using F7 or Material icons fonts instead

  • Vue.js support (beta) with official Framework7 Vue plugin

  • iOS 主题

    • iOS 10 style Notifications

    • iOS 10 style Messagebar

    • Notifications in iOS theme now doesn't support more than one notification at a time

  • Chips

    • Now also supported by iOS theme to keep consistency with Material theme

  • 浮动操作按钮

    • Now also supported by iOS theme to keep consistency with Material theme

  • 路由

    • Page data and Navbar data are not available anymore in BeforeRestroy events

    • .router.load method supports new pageElement parameter to specify page HTMLElement to load if it is already added to the .pages container manually or by different means/library

    • Added context cache for pages rendered with Template7 to keep context when navigating deep in history and then going back

    • New routerRemoveWithTimeout app parameter. By default is false. When specified, then framework will remove element after 0 timeout instead of immediately. Useful to enable if you use another library like Vue or React to manage (remove) pages

    • Now you can keep dynamic navbar inside of page when loading pages dynamically (not inline pages) and router will place it automatically to the correct place. It helps to keep consistency with Material theme page layout

  • Dom7

    • New .siblings(selector) method to select all previous and next elements

    • New .empty() method to clear element inner HTML

    • New .removeDiacritics(text) helper method to remove/replace diacritics in passed text

点此查看完整更新内容发布说明

下载地址:

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/ 下的文件夹绑定


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部