$ window.open(encodeURI(ENV.liveSite),'_blank','位置=是,clearcache =是,clearsessioncache =是,hideurlbar =是,toolbarcolor =#e85147');
还有另一个可用的插件,它是主题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);
}