ember.js - Programatically trigger click event on EmberView -


i have ember application , using three.js , css renderer display array of views in 3d.

the problem once three.js thing, can no longer catch click event on view through controller/view or router even.

does know how programatically trigger click event on ember view? have access "data-ember-action" value , hoping use find binded event , have run.

referring last comment on capturing event in ember view, work defining function/hook on view name of event want capture, like:

app.myview = ember.view.extend({   click: function(event) {     alert("clicked!");   },    doubleclick: function(event) {     alert("double clicked!");   } }); 

more on handling events in ember can found in ember guides

hope helps


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -