0.2.8 • Published 9 months ago

@seayoo-web/combo-webview v0.2.8

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Combo Webview

combo 内置 webview 和 combo 进行通信的工具库, 提供集成后的 API 方便前端开发调用.

方法列表

  1. close() 关闭网页

  2. openInBrowser(url) 在外部浏览器中打开 url

  3. listCmd() 可执行的命令列表

  4. exeCmd(cmd, options) 执行命令

示例

import {close, exeCmd, openInBrowser} from '@seayoo-web/combo-webview';

close();

await exeCmd('openInbrowser', {url: 'https://www.baidu.com'});

await openInBrowser('https://www.baidu.com');

const resp = await exeCmd('list', null);
0.2.8

9 months ago

0.2.7

10 months ago

0.2.6

10 months ago

0.2.3

11 months ago

0.2.5

10 months ago

0.2.4

10 months ago

0.2.2

1 year ago

0.2.1

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago