forked from apache/cordova-plugin-inappbrowser
-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
I am getting error as ref.hide is not a function
See my code.
var ref = cordova.ThemeableBrowser.open('abc.com', '_blank', {
statusbar: {
color: '#ffffffff'
},
toolbar: {
height: 44,
color: '#004387'
},
title: {
color: '#ffffffff',
showPageTitle: true
},
customButtons: [
{
wwwImage: 'img/home.png',
wwwImagePressed: 'home_pressed',
align: 'right',
event: 'homePressed'
}
],
backButtonCanClose: true,
hidden:true
});
ref.addEventListener('loadstart', function (e) {
$ionicLoading.show({ template: '
Please wait...
' });});
ref.addEventListener('loadstop', function (event) {
ref.show();
$ionicLoading.hide();
});
ref.addEventListener('homePressed', function (event) {
ref.hide(); // I am getting error as ref.hide is not a function
});
Metadata
Metadata
Assignees
Labels
No labels