如何创建自定义Inapp浏览器? [英] How to Create Custom Inapp Browser?

查看:149
本文介绍了如何创建自定义Inapp浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的android应用中的inAppbrowser上添加一些按钮如何在此处添加我的代码

Hi I want to add Some buttons over the inAppbrowser in my android application how to add here is my code

$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 。您可以参考其代码以供参考。
的问候。

You can try following plugin that is already modified. cordova-plugin-themeablebrowser. You can refer its code for reference. Regards.

这篇关于如何创建自定义Inapp浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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