需要将childbrowser代码更改为inappbrowser [英] Need to change childbrowser code to 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屋!