Answer the question
In order to leave comments, you need to log in
EmberJs binding
Is it possible in emberjs to bind an event or attribute to an element, leaving the html clean without the {{ }} ?
As in jquery $('#elem').bind()
Answer the question
In order to leave comments, you need to log in
If I understand the question correctly, then this is done using Ember.View , through the element property of which you can access the root element of the View.
I will add that for View it is not necessary to write `{{view ...}}` at all - Ember itself creates a separate view for each template, it just needs to be redefined.
Also, look at $() .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question