I have a parent can.Control instance named FooList bound to <div class="list">. In that parent element's ejs template, I have this:
- <div class="child" <%= (el) -> new FooDetail(el, {}) %>>
How to I access the instance of can.Control bound to the FooList instance's .child?
I've got the observation direction from child to parent down, but cannot for the life of me determine how to get the can.Control instance bound to .child. Using jQuery.
JMVC had:
I've got the observation direction from child to parent down, but cannot for the life of me determine how to get the can.Control instance bound to .child. Using jQuery.
JMVC had:
$(".special_controller").controller()