Semantic-UI 2.3.0 已正式发布,这是一个重大更新的版本,看看有哪些值得关注的新特性:
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
})
;
有关 Semantic-UI 2.3.0 新特性的详细内容,点此查看: https://semantic-ui.com/introduction/new.html 下载地址:https://github.com/Semantic-Org/Semantic-UI/releases/tag/2.3.0 |