You want to use can.Control for declarative event bindings, not can.Construct. If it's early enough in your development, consider trying can.Component which leads to less boilerplate and more declarative style templates too.
↧