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

栏目: 软件资讯 · 发布时间: 7年前

内容简介: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


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Cascading Style Sheets 2.0 Programmer's Reference

Cascading Style Sheets 2.0 Programmer's Reference

Eric A. Meyer / McGraw-Hill Osborne Media / 2001-03-20 / USD 19.99

The most authoritative quick reference available for CSS programmers. This handy resource gives you programming essentials at your fingertips, including all the new tags and features in CSS 2.0. You'l......一起来看看 《Cascading Style Sheets 2.0 Programmer's Reference》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码