Ionic framework 在应用浏览器中是否有显示网站标题而不是url的选项?
$window.open(encodeURI(ENV.liveSite),'u blank','location=yes,clearcache=yes,clearsessioncache=yes,hideurlbar=yes,toolbarcolor=#e85147') 还有另一个插件可供使用,那就是ThemeIonic framework 在应用浏览器中是否有显示网站标题而不是url的选项?,ionic-framework,inappbrowser,Ionic Framework,Inappbrowser,$window.open(encodeURI(ENV.liveSite),'u blank','location=yes,clearcache=yes,clearsessioncache=yes,hideurlbar=yes,toolbarcolor=#e85147') 还有另一个插件可供使用,那就是ThemeThemeableBrowser Func(){ const options: ThemeableBrowserOptions = { statusbar: {
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);
}
您的答案非常有用,但请告诉我如何在ionic版本1中使用它,而不是在typescript中使用它。