小程序-列表选择框

showActionSheet

​显示操作菜单,不可视组件,需要事件调用显示。

属性 说明
itemColor Color 按钮的文字颜色,默认为"#000000"

设置

item项:列表选项,默认为三项,可添加或删除。下面为设计时功能

显示item
隐藏item
增加item 在item项的末尾添加一项
显示内容 String item项显示的内容

事件

选中事件 点击选中时触发

示例

link & tips

link : null

results matching ""

    No results matching ""

    results matching ""

      No results matching ""