mercredi 31 décembre 2014

How to insert and interact with html coming from db in ember.js

I'm tring to build a UI to customize the design of an email template.


The flow is: user chooses from a list of predefined templates, load the template style+html in the page, interact with the content with inline editor triggered by click and handled by ember.js


The problem is to interact with DOM inserted at runtime. so without all the goodness of handlebars helpers and so on. The email DOM is basically a piece of remote data, coming from a db and loaded in ember via ember-data


How do you go about it? Thanks





Aucun commentaire:

Enregistrer un commentaire