mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
fix(tab-button): add a class to hide the tab when show is false
This commit is contained in:
@ -74,9 +74,9 @@ export class TabButton {
|
||||
'role': 'tab',
|
||||
'id': tab.btnId,
|
||||
'aria-selected': selected,
|
||||
'hidden': !tab.show,
|
||||
class: {
|
||||
...createColorClasses(this.color),
|
||||
'tab-hidden': !tab.show,
|
||||
'tab-selected': selected,
|
||||
'has-label': hasLabel,
|
||||
'has-icon': hasIcon,
|
||||
|
Reference in New Issue
Block a user