需要将childbrowser代码更改为inappbrowser [英] Need to change childbrowser code to inappbrowser

查看:93
本文介绍了需要将childbrowser代码更改为inappbrowser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我没有写下面的代码,但是我需要将其更改为inappbrowswer。



http://docs.phonegap.com/en/edge/cordova_inappbrowser_inappbrowser.md.html



window.plugins.childBrowser.showWebPage(authUri,{ showLocationBar:true});

window.plugins.childBrowser.onClose = $ this.onAuthClose;

window.plugins.childBrowser.onLocationChange = $ this.onAuthUrlChange;



如果有人知道如何改变它将不胜感激。



感谢您的高级时间。



Teli

Hi,

I did not write the code below but I need to change this to an inappbrowswer.

http://docs.phonegap.com/en/edge/cordova_inappbrowser_inappbrowser.md.html

window.plugins.childBrowser.showWebPage(authUri, {showLocationBar : true});
window.plugins.childBrowser.onClose = $this.onAuthClose;
window.plugins.childBrowser.onLocationChange = $this.onAuthUrlChange;

If anyone knows how to change it would be greatly appreciated.

Thank for your time in advanced.

Teli

推荐答案

this.onAuthClose;

window.plugins.childBrowser.onLocationChange =
this.onAuthClose;
window.plugins.childBrowser.onLocationChange =


this.onAuthUrlChange;



如果有人知道如何改变它将不胜感激。



感谢您的高级时间。



Teli
this.onAuthUrlChange;

If anyone knows how to change it would be greatly appreciated.

Thank for your time in advanced.

Teli


这篇关于需要将childbrowser代码更改为inappbrowser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆