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:
@@ -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);
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user