mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(backButton): add .header-item class
Add the .header-item class to each of the root child items of a nav header bar. This gives CSS more power to state what should and should not be shown during the different states of a transition, specifically for iOS nav bar transitions.
This commit is contained in:
2
js/angular/directive/navBackButton.js
vendored
2
js/angular/directive/navBackButton.js
vendored
@@ -71,7 +71,7 @@ IonicModule
|
||||
buttonEle.setAttribute('ng-click', '$ionicGoBack($event)');
|
||||
}
|
||||
|
||||
buttonEle.className = 'button back-button hide buttons ' + (tElement.attr('class') || '');
|
||||
buttonEle.className = 'button back-button back-disabled buttons ' + (tElement.attr('class') || '');
|
||||
buttonEle.innerHTML = tElement.html() || '';
|
||||
|
||||
var childNode;
|
||||
|
||||
Reference in New Issue
Block a user