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

Support changing title outside of route transitions #9

Open
BilalBudhani opened this issue Mar 27, 2015 · 2 comments
Open

Support changing title outside of route transitions #9

BilalBudhani opened this issue Mar 27, 2015 · 2 comments

Comments

@BilalBudhani
Copy link

Firstly, Thanks for the great plugin. I'm using this plugin to show a list, where I want to show the list count in the title. So, I tried .property() on titleToken function but It didn't work. I think we should add support for this functionality for dynamic title update.

@blimmer
Copy link
Contributor

blimmer commented Mar 27, 2015

Hmm, I believe this should work as I'm using it in my application. Maybe try using the Ember.computed style?

titleToken: Em.computed('myString', function() {
  ... logic ...
  return result;
});

@kimroen
Copy link
Owner

kimroen commented Apr 22, 2015

@BilalBudhani Did you have any luck getting this working?

Using with a computed property should work, but we don't currently support changing the title without making a transition, which I believe might be what you actually mean here. I don't have any plans to add this right now, but maybe I'll get to it in the future, as it would be very nice :)

@kimroen kimroen changed the title Support '.property' for title token. Support changing title outside of route transitions Apr 22, 2015
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

No branches or pull requests

3 participants