You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(tabs): remove tabbarIcons and add tabbarLayout which accepts different values
BREAKING CHANGES: `tabbarIcons` has been replaced with `tabbarLayout`
with the following values: `icon-top`, `icon-left`, `icon-right`,
`icon-bottom`, `icon-hide`, `title-hide`.
closesionic-team#5625
@@ -162,8 +167,13 @@ export class Tabs extends Ion {
162
167
*/
163
168
ngAfterViewInit(){
164
169
this._setConfig('tabbarPlacement','bottom');
170
+
this._setConfig('tabbarLayout','icon-top');
165
171
this._setConfig('tabbarIcons','top');
166
172
173
+
if(this.tabbarIcons){
174
+
console.warn("DEPRECATION WARNING: 'tabbarIcons' is no longer supported and will be removed in next major release. Use 'tabbarLayout' instead. Available values: 'icon-top', 'icon-left', 'icon-right', 'icon-bottom', 'icon-hide', 'title-hide'.");
175
+
}
176
+
167
177
if(this._useHighlight){
168
178
this._platform.onResize(()=>{
169
179
this._highlight.select(this.getSelected());
@@ -201,7 +211,7 @@ export class Tabs extends Ion {
0 commit comments