mercredi 15 juillet 2020

compile handlebar in javascript side of the ember component

For the optimisation and quick rendering I need to be able to compile html in javascript side of the component. In ember 1.x we could do something like this https://api.emberjs.com/ember/1.0/classes/Ember.Handlebars, But in Ember 3.x I cant see compile function when I use Ember.Handlebars.compile()

What is the best way of doing that? Thanks




Aucun commentaire:

Enregistrer un commentaire