Show Menu
Cheatography

Ember Concepts Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Overview

 

Routes

this.m­ode­lFo­r(t­his.ro­ute­Name)
Be wary that the model is only set at the end of the model hook so only use it with a guard in the before­Model and model hooks.
this.c­ont­rol­ler.ge­t('­model')
this.c­ont­roller might be undefined, see comment in the "­Con­troller of the route" point