Commit 625ffaa4 authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent e0655812
...@@ -99,13 +99,13 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公 ...@@ -99,13 +99,13 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公
} }
``` ```
##### 8.拨打电话 `callPhone` ##### 8.拨打电话 `callPhone`
- 参数为`( 邮箱地址 )` - 参数为`( 电话号码 )`
- 通过正则表达式校验 返回 `true of false`
- 调用实例如下 - 调用实例如下
```javascript ```javascript
function isEmailAddress(){ //打电话
alert(hlsUtil.isEmailAddress('jingchao.wu@hand-china.com')); function callPhone() {
hlsUtil.callPhone('18325379820');
} }
``` ```
......
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