mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 03:22:39 +08:00
@@ -200,7 +200,7 @@ var WebView = cc.Class({
|
||||
* Please refer to the official documentation for more details.
|
||||
* !#zh
|
||||
* 当加载 URL 以 JavaScript 接口方案开始时调用这个回调函数。<br/>
|
||||
* 注意:只支持 Android 和 iOS ,Web 端用法请前往官方文档查看。
|
||||
* 注意:只支持 Android 和 iOS,Web 端用法请前往官方文档查看。
|
||||
* 详情请参阅官方文档
|
||||
* @method setOnJSCallback
|
||||
* @param {Function} callback
|
||||
@@ -215,7 +215,7 @@ var WebView = cc.Class({
|
||||
* !#en
|
||||
* Evaluates JavaScript in the context of the currently displayed page. <br/>
|
||||
* Please refer to the official document for more details <br/>
|
||||
* Note: Cross domain issues need need to be resolved by yourself <br/>
|
||||
* Note: Cross domain issues need to be resolved by yourself <br/>
|
||||
* !#zh
|
||||
* 执行 WebView 内部页面脚本(详情请参阅官方文档) <br/>
|
||||
* 注意:需要自行解决跨域问题
|
||||
|
||||
Reference in New Issue
Block a user