Registers a hookup function that can be called back after the html is
put on the page. Typically this is handled by the template engine. Currently
only EJS supports this functionality.
var id = $.View.hookup(function(el){
//do something with el
}),
html = "<div data-view-id='"+id+"'>"
$('.foo').html(html);
Registers a hookup function that can be called back after the html is put on the page. Typically this is handled by the template engine. Currently only EJS supports this functionality.