如何创建自定义 Inapp 浏览器?
How to Create Custom Inapp Browser?
您好,我想在我的 android 应用程序的 inAppbrowser 上添加一些按钮 如何添加这里是我的代码
$scope.customInappbrowser = function() {
$cordovaInAppBrowser.open('https://www.google.co.in', '_blank', options)
.then(function(event) {
// success
})
.catch(function(event) {
// error
});
// window.open(v, "_system", "location=yes");
}
$scope.customInappbrowser();
您可以尝试以下已修改的插件。
cordova-plugin-themeablebrowser。您可以参考其代码以供参考。
问候。
您好,我想在我的 android 应用程序的 inAppbrowser 上添加一些按钮 如何添加这里是我的代码
$scope.customInappbrowser = function() {
$cordovaInAppBrowser.open('https://www.google.co.in', '_blank', options)
.then(function(event) {
// success
})
.catch(function(event) {
// error
});
// window.open(v, "_system", "location=yes");
}
$scope.customInappbrowser();
您可以尝试以下已修改的插件。 cordova-plugin-themeablebrowser。您可以参考其代码以供参考。 问候。