- init: controller中初始化方法, //注意该方法是在其他方法之前,所以取不出this,model等值;
- 跳转:this.transitionToRoute(routename,param); //形式对应如:this.resource(‘question‘, {path: ‘test/:fullname/:sequence/:guid‘});
ember.js:使用笔记10 常用方法
原文:http://www.cnblogs.com/jinkspeng/p/4071361.html