是否可以选择显示非离子浏览器中的网站标题而不是URL?

问题描述 投票:1回答:1

$ window.open(encodeURI(ENV.liveSite),'_blank','位置=是,clearcache =是,clearsessioncache =是,hideurlbar =是,toolbarcolor =#e85147');

ionic-framework inappbrowser
1个回答
0
投票

还有另一个可用的插件,它是主题ThemeableBrowser

Func(){
const options: ThemeableBrowserOptions = {
     statusbar: {
         color: '#ffffffff'
     },
     toolbar: {
         height: 44,
         color: '#f0f0f0ff'
     },
     title: {
         color: '#003264ff',
         showPageTitle: true
     }
    }
    const browser: ThemeableBrowserObject = this.themeableBrowser.create('https://ionic.io', '_blank', options);
  }

reference

© www.soinside.com 2019 - 2024. All rights reserved.