Skip to content Skip to sidebar Skip to footer

I Want My View To Grab The Value Of An Attribute

My view is not grabbing the value of an attribute I set for the model. To do this in the docController would be called like var docTemplateID = this.get('docTemplateID'); or/and

Solution 1:

The controller is added as a property on your view, and you can grab them using chaining.

this.get('controller.docTemplateID');

http://emberjs.jsbin.com/giriyebi/1/edit

Post a Comment for "I Want My View To Grab The Value Of An Attribute"