Commit 10ea5180 authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent b297823f
...@@ -113,7 +113,7 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公 ...@@ -113,7 +113,7 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公
![](/img/callPhone.PNG) ![](/img/callPhone.PNG)
##### 8.操作表 `showSheet` ##### 9.操作表 `showSheet`
- 参数1`(sheet标题)` - 参数1`(sheet标题)`
- 参数2 `(操作列表)数组形式`如`['拍照', '从相册选择']` - 参数2 `(操作列表)数组形式`如`['拍照', '从相册选择']`
- 参数3 回调函数 function 回调函数返回操作列表的`index`可自行根据返回值进行其他操作 - 参数3 回调函数 function 回调函数返回操作列表的`index`可自行根据返回值进行其他操作
...@@ -131,7 +131,7 @@ vm.showSheet = function () { ...@@ -131,7 +131,7 @@ vm.showSheet = function () {
![](/img/ionicSheet.PNG) ![](/img/ionicSheet.PNG)
##### 8.图片转成base64 `getImageToBase64` ##### 10.图片转成base64 `getImageToBase64`
- 参数为`( 图片地址,回调函数 )` ** 第二个参数为回调函数 ** - 参数为`( 图片地址,回调函数 )` ** 第二个参数为回调函数 **
- 在回调函数中`( 返回图片的base64 )` - 在回调函数中`( 返回图片的base64 )`
- 调用实例如下 - 调用实例如下
......
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