We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.WebViewJavascriptBridge.callHandler( 'getdata' //桥注册的名称ID , {'msg': '中文测试'} //传递给原生的参数 , function(responseData) { //异步回调接口 alert('native return->'+responseData); } );
The text was updated successfully, but these errors were encountered:
不生效的话多注意一下JavaScript的声明方法,很容易因为js问题导致桥连接初始化失败
Sorry, something went wrong.
No branches or pull requests
window.WebViewJavascriptBridge.callHandler(
'getdata' //桥注册的名称ID
, {'msg': '中文测试'} //传递给原生的参数
, function(responseData) { //异步回调接口
alert('native return->'+responseData);
}
);
The text was updated successfully, but these errors were encountered: