veliovgroup / Meteor-flow-router-title

Change document.title on the fly within flow-router
https://atmospherejs.com/ostrio/flow-router-title
BSD 3-Clause "New" or "Revised" License
25 stars 4 forks source link

Title don't reactive with TAPi18n? #4

Closed thearabbit closed 8 years ago

thearabbit commented 8 years ago

Title don't reactive

title: function () {
        return TAPi18n.__('core.exchange.title');
    },

I try to change language in the same route, it don't reactive.

dr-dimitru commented 8 years ago

Returned value from this Function must be reactive (if you want to have it reactive)

  1. What is returned by TAPi18n.__() method?
  2. What do you actually expect?
  3. How you change the title? (I guess you trying to change title outside of the Router, right?)
dr-dimitru commented 8 years ago

Just to make sure you use this lib with flow-router-extra, right?

dr-dimitru commented 8 years ago

@thearabbit any news on your end?

thearabbit commented 8 years ago

Sorry I am late, It work fine.