皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

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

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

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

转自 http://www.oschina.net/news/93544/semantic-ui-2-3-0-released