1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

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

本帖由 漂亮的石头2018-02-23 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    488,119
    赞:
    47
    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
    语义化前端框架 Semantic-UI 2.3.0 正式发布,重大更新下载地址
     
正在加载...