Skip to content

Conversation

uniring
Copy link

@uniring uniring commented Jan 31, 2014

Added a watch to see if the contents of the view title changes and, if so, fire an event to notify the navbar and update the title.

I've realized that if I want to update the view title with data from an async request it doesn't update. So, after searching the forums, I've tried to patch it myself. Is there a better way to do this? If not, consider my pull request.

Thanks for your time.

Added a watch to see if the contents of the view title changes and, if
so, fire an event to notify the navbar and update the title.
Added support for TabBar icon badges using the attribute badge in the
tab directive.

Ex: <tab icon-on="icon ion-ios7-person" icon-off="icon
ion-ios7-person-outline" href="#/tab/myprofile" badge="3">

I’ve used the colors of the TabBar itself but inverted for the badge. I
don’t know if you’ll want to merge this straight on but I think it can
help as a start point for this feature. I’ve tried to do it as
integrated as possible.
@uniring
Copy link
Author

uniring commented Jan 31, 2014

Sorry for the revert, i've messed it up commiting to the main branch…

@dryaf
Copy link

dryaf commented Feb 1, 2014

👍

somethingnew2-0 added a commit that referenced this pull request Feb 1, 2014
Allows a view to update the navbar title if his title changes
@somethingnew2-0 somethingnew2-0 merged commit 27f3d56 into ionic-team:master Feb 1, 2014
@somethingnew2-0
Copy link

Thanks!

@uniring
Copy link
Author

uniring commented Feb 1, 2014

To you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants