I have an Ember app that uses several third party jQuery Library. One of those is W2ui for creating robust tables. I initialize these tables inside didInsertElement hook. Tables render nicely except that buttons are not working properly. One example is here:
<table onclick="var el=w2ui['gridAlerts_toolbar']; console.log(el); el.click('add', event);"> ... </table>
The console.log above is working but The problem is that Ember seems to be interfering the third party library event listeners. the el.click method seems to get lost somewhere. If I use the library outside Ember, it works properly. My question is how can I properly incorporate a big third party library (that has own actions and listeners) into Ember. I hope you can direct me to right direction. Thanks.
Aucun commentaire:
Enregistrer un commentaire