【问题标题】:How to Create Custom Inapp Browser?如何在应用浏览器中创建自定义?
【发布时间】:2016-11-15 22:06:32
【问题描述】:

您好,我想在我的 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();

【问题讨论】:

  • 您必须在插件的原生文件中进行这些更改。
  • 有例子吗?

标签: android ionic-framework cordova-plugins inappbrowser


【解决方案1】:

您可以尝试以下已修改的插件。 cordova-plugin-themeablebrowser。您可以参考其代码以供参考。 问候。

【讨论】:

  • 有用的插件谢谢
猜你喜欢
  • 2017-04-06
  • 2011-07-15
  • 1970-01-01
  • 2014-04-08
  • 1970-01-01
  • 2013-06-30
  • 1970-01-01
  • 2012-07-06
  • 1970-01-01
相关资源
最近更新 更多