设为首页收藏本站

LUPA开源社区

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

语义化前端框架Semantic-UI 2.3.0正式发布,重大更新

2018-2-25 19:34| 发布者: joejoe0332| 查看: 208| 评论: 0|原作者: oschina|来自: oschina

摘要: Semantic-UI 2.3.0 已正式发布,这是一个重大更新的版本,看看有哪些值得关注的新特性:Font Awesome 5.0 更好的 Icon 搜索:Semantic UI 现在已引入 Font Awesome 5。此外,Semantic-UI icon 文档现在包含全局图标 ...

Semantic-UI 2.3.0 已正式发布,这是一个重大更新的版本,看看有哪些值得关注的新特性:

  • Font Awesome 5.0 & 更好的 Icon 搜索:Semantic UI 现在已引入 Font Awesome 5。此外,Semantic-UI icon 文档现在包含全局图标搜索功能,可轻松复制和以 html 方式粘贴

  • 搜索:类别搜索现在可以与本地搜索一起使用,方法是向任何结果添加 category 属性并指定 type: 'category'

var categoryContent = [
    { category: 'South America', title: 'Brazil' },
    { category: 'South America', title: 'Peru' },
    { category: 'North America', title: 'Canada' },
    { category: 'Asia', title: 'South Korea' },
    { category: 'Asia', title: 'Japan' },
    { category: 'Asia', title: 'China' },
    { category: 'Europe', title: 'Denmark' },
    { category: 'Europe', title: 'England' },
    { category: 'Europe', title: 'France' },
    { category: 'Europe', title: 'Germany' },
    { category: 'Africa', title: 'Ethiopia' },
    { category: 'Africa', title: 'Nigeria' },
    { category: 'Africa', title: 'Zimbabwe' },
  ];
  $('.ui.search')
    .search({
      type: 'category',
      source: categoryContent
    })
  ;
  • Flexbox Modals 和 Dimmers:Semantic UI 2.3 包括重写的 modal,以使用垂直居中的非 js flexbox 定位。

有关 Semantic-UI 2.3.0 新特性的详细内容,点此查看:

https://semantic-ui.com/introduction/new.html  
https://github.com/Semantic-Org/Semantic-UI/blob/master/RELEASE-NOTES.md

下载地址:https://github.com/Semantic-Org/Semantic-UI/releases/tag/2.3.0


酷毙

雷人

鲜花

鸡蛋

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

最新评论

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

返回顶部