Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Best way to bind a templated event to object created by Control

$
0
0
Ok thanks Alex. What exactly do you mean by the $ object?  I assume the $-wrapped dom element so that everything works as expected?

Also, I am new to the framework, so not familiar with many use cases, but I am wondering if it would be better to bind the events after the control's init() method?  This might create a more streamlined constructor workflow.

Something like:

setup()  ->  init() -> bindEvents()
  
Thanks!
Keith

Viewing all articles
Browse latest Browse all 3491

Trending Articles