1.0.3 • Published 4 years ago

webview-javascript-bridge-promised v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

In the WebViewJavaScriptBridge project, the promise version of the JS file that the web project needs to import

WebViewJavascriptBridge项目中, Web项目需要导入JS 的 Promise 实现

Install

npm i webview-javascript-bridge-promised

Usage

参考 https://github.com/marcuswestin/WebViewJavascriptBridge#usage

var bridge = require('webview-javascript-bridge-promised');

bridge.callHandler(...)
bridge.registerHandler(...)