Moh*_*hin 6 router ember.js
在RC1中,如何全局获取当前状态名称或当前路由名称?
更具体的替代语法: App.get('router').currentState.name;
mav*_*ein 8
看看这个问题的答案:Ember App.Router.router.currentState undefined
简短回答:当前状态是ApplicationController中名为"currentPath"的存储.
归档时间:
12 年,6 月 前
查看次数:
7003 次
最近记录:
10 年,6 月 前