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:
Adam Bradley
2014-11-19 12:44:15 -06:00
parent b4e4055a06
commit 57bf4f1683
6 changed files with 15 additions and 6 deletions

View File

@@ -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;