Skip to content
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

Allowed a tab-title to be watched #1071

Closed

Conversation

graemefoster
Copy link

Not sure if there is a better way (tried using observes and watches and I can't get it to work), but we have a requirement to allow the title of a tab to change - internal language service - and the current ion-tab-nav doesn't do this.

I've changed the binding to two-way and it works...

@ajoslin
Copy link
Contributor

ajoslin commented Apr 7, 2014

Hi @graemefoster, thanks for the PR. You helped me realize the true issue: that the tab-nav element was never actually getting the un-interpolated version of the title attribute from the tab element... if that makes any sense.

Anyway, it's fixed now!

@ajoslin ajoslin closed this in 757f181 Apr 7, 2014
@graemefoster
Copy link
Author

Cool - I see how you did it - moving the element creation to the compile phase instead of the link phase.

Cheers,

Graeme

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.

2 participants