Commit f4962c30 authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent 7e89e185
......@@ -116,10 +116,14 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公
##### 8.操作表 `showSheet`
- 参数1`(sheet标题)`
- 参数2 `(操作列表)数组形式`如`['拍照', '从相册选择']`
- 参数3 回调函数 function
- 参数3 回调函数 function 回调函数返回操作列表的index
- 调用实例如下
```javascript
vm.showSheet = function () {
hlsUtil.showSheet('照片选择方式', ['拍照', '从相册选择'], function (index) {
alert(index);
})
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment