【问题标题】:What is the usage of modifier=chevron on onsen ui list items温泉ui列表项上modifier=chevron的用法是什么
【发布时间】:2015-02-08 20:27:30
【问题描述】:

我用的是onsenui,网上有很多例子和onsen.io这个网站

<ons-list-item modifier="chevron">

我只想知道modifier 是做什么的,modifier="chevron" 是什么意思?

【问题讨论】:

    标签: onsen-ui


    【解决方案1】:

    它只是修改元素的样式。这里有解释:http://onsen.io/guide/overview.html#UsingModifier

    chevron 在 ons-list-item 中添加一个箭头并稍微改变样式。您在同一链接的“使用滑动菜单”部分中有一个示例。

    【讨论】:

    • 是否有指南列出了不同的修饰符以及它们的作用?或者"chevron" 是特定于项目的东西,它定义了你们两个所指的项目?编辑:找到它>>components.onsen.io
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-04
    • 1970-01-01
    • 2016-08-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多