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

@@ -34,7 +34,7 @@ describe('ionNavBackButton directive', function() {
expect( outputEle[0].tagName ).toBe('BUTTON');
expect( outputEle.hasClass('button') ).toBe(true);
expect( outputEle.hasClass('back-button') ).toBe(true);
expect( outputEle.hasClass('hide') ).toBe(true);
expect( outputEle.hasClass('back-disabled') ).toBe(true);
expect( outputEle.hasClass('buttons') ).toBe(true);
}));