-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Footers, Headers, NavBars: API Proposal #777
Comments
Declarative NavBar Back<ion-nav-bar>
<!-- ng-click is overrideable by dev; defaults to go back -->
<ion-nav-back class="ion-arrow-left-c">
Back!
</ion-nav-back>
</ion-nav-bar> |
This at least seems like an improvement over the old API for the nav bar. The question then is what's the point of ion-header-bar or ion-footer-bar if it only handles header alilgnment? |
State management like #619 |
Seems pretty clear actually. And you could use ng-repeat if you wanted, and even have more buttons after the repeat, so yeah, I think this format is much more flexible. What are the negatives to doing it this way? |
I can't think of any negatives besides verbosity, to be honest. |
@ajoslin Is verbosity a negative? API looks good to me. |
Landed via bfcfae3 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Header
Footer
NavBar
The text was updated successfully, but these errors were encountered: