ActionSheet 上拉菜单
使用范例
更多例子请参考Demo
API
ActionSheetItem
参数 | 说明 | 类型 | 默认值 |
name | 标题 |
| - |
subname | 二级标题 |
| - |
color | 选项文字颜色 |
|
|
loading | 是否为加载状态 |
|
|
disabled | 是否为禁用状态 |
|
|
ActionSheet
参数 | 说明 | 类型 | 默认值 |
actions | 菜单选项 |
| - |
title | 顶部标题 |
| - |
cancelText | 取消按钮文字 |
| - |
description | 选项上方的描述信息 |
| - |
round | 是否显示圆角 |
|
|
closeIcon | 关闭图标 |
| - |
closeOnClickOverlay | 是否在点击遮罩层后关闭 |
|
|
onSelect | 选中选项时触发,禁用或加载状态下不会触发 |
| - |
onCancel | 取消按钮点击时触发 |
| - |
onClose | 关闭菜单时触发 |
| - |
child | 自定义菜单内容 |
| - |
Demo截图
Last updated