lundi 25 avril 2016

Recreate an Ember.js Component view element

The documentation for Ember.Component's tagName property says: "The tag name is only used when an element is first created. If you change the tagName for an element, you must destroy and recreate the view element."

How do I do that ? Here's my code :


  


I want the view element of the brick-block component to change if the value of brick.tagName changes.




Aucun commentaire:

Enregistrer un commentaire