Tried list() and some old methods from JMVC..
In a can.Control instance, templated event listener:
In a can.Control instance, templated event listener:
- 'li click': function(el, ev) { trying to get el.model() here... }
No model() function.
Tried using list() in ejs, too. Renders findAll list just fine, but still no way to get the model instance. Is this no longer possible? I see el.model() in the CanJS docs so I thought I'd ask. Also tried
Tried using list() in ejs, too. Renders findAll list just fine, but still no way to get the model instance. Is this no longer possible? I see el.model() in the CanJS docs so I thought I'd ask. Also tried
- <li <%= modelName, etc %>>
to no avail.