launch-application
v1.0.2
Published
pc web launch application 唤起桌面应用
Downloads
6
Readme
launchApplication
使用示例
import launchApplication from 'launch-application';
let url = 'xxx://open';
function success() {
alert('success');
}
function fail() {
alert('fail')
}
launchApplication(url, success, fail);
launchApplication(url, success, fail);
唤起桌面应用
参数
- url 外链地址
- success 成功回调
- fail 失败回调