-
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
Change nav-bar type attribute to accept either a string or AngularJS expression #599
Comments
I'll note that accepting a string will keep backwards compatibility. There are numerous AngularJS built-in directives that do this, so it would be keeping with the spirit of Angular as well. |
Thanks @jough! added :-) |
Will this work for all attributes in ionic, like |
@jough It looks like the |
Right now nav-bar type="class name strings" only accept class strings, but if it accepted an Angular expression or a string we'd be able to change the classes on the nav-bar (and I suppose header-bar) by setting a $scope variable.
As discussed here:
http://forum.ionicframework.com/t/chaning-nav-bar-classes-on-page-loads/784/8
The text was updated successfully, but these errors were encountered: