launch-application

1.0.2 • Public • Published

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 失败回调

具体使用请参考 test

Readme

Keywords

none

Package Sidebar

Install

npm i launch-application

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • wulunyi