Commit 48ed26ba authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent 4dec6e1c
...@@ -163,10 +163,10 @@ vm.showSheet = function () { ...@@ -163,10 +163,10 @@ vm.showSheet = function () {
##### 12.拍照 `openCamera` ##### 12.拍照 `openCamera`
- 参数1`(对象)`对象中包含4个字段 可为空 - 参数1`(对象)`对象中包含4个字段 可为空
- `quality`: 质量默认50 - `quality`: 质量 默认50
- `allowEdit`: 是否可编辑 默认false - `allowEdit`: 是否可编辑 默认false
- `width`: 图片宽度 默认1024, - `width`: 图片宽度 默认1024,
- `height`: 图片高度 768 - `height`: 图片高度 默认768
- 参数2`(回调函数 function)` 回调函数返回图片的base64 - 参数2`(回调函数 function)` 回调函数返回图片的base64
- 调用实例如下 - 调用实例如下
```javascript ```javascript
......
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