【发布时间】:2015-02-08 20:27:30
【问题描述】:
我用的是onsenui,网上有很多例子和onsen.io这个网站
<ons-list-item modifier="chevron">
我只想知道modifier 是做什么的,modifier="chevron" 是什么意思?
【问题讨论】:
标签: onsen-ui
我用的是onsenui,网上有很多例子和onsen.io这个网站
<ons-list-item modifier="chevron">
我只想知道modifier 是做什么的,modifier="chevron" 是什么意思?
【问题讨论】:
标签: onsen-ui
它只是修改元素的样式。这里有解释:http://onsen.io/guide/overview.html#UsingModifier
chevron 在 ons-list-item 中添加一个箭头并稍微改变样式。您在同一链接的“使用滑动菜单”部分中有一个示例。
【讨论】:
"chevron" 是特定于项目的东西,它定义了你们两个所指的项目?编辑:找到它>>components.onsen.io