I have in my project(written by others) handlebars template the following code snippet
{{view view.textfield propagateEvents="true"}}
I want to know what propagateEvents="true"
does ?...Thanks
I have in my project(written by others) handlebars template the following code snippet
{{view view.textfield propagateEvents="true"}}
I want to know what propagateEvents="true"
does ?...Thanks
Ember.Button (which I believe is being deprecated) has a propagateEvents property, but not Ember.TextField.
From the handlebars action helper documentation:
Events triggered through the action helper will automatically have
.preventDefault()
called on them. You do not need to do so in your event handlers. To stop propagation of the event, simply returnfalse
from your handler.If you need the default handler to trigger you should either register your own event handler, or use event methods on your view class.