mercredi 26 août 2015

How to render component/helper from another one?

I have render-component ( source ) which used to render components/helpers from controller fields. It worked fine for ember 1.9.1 but after updating up to ember 1.12.1 I found changes in API. After updating code I restore simple cases ( like render view by name from some property ). But largest part of functionality still broken.

I'm interesting about where can I read more about such things like

  • env ( which used inside components/helpers internal implementation )

  • morph ( I understand that it's a part of html-bars, but I'm interested in more documentation )

  • hooks ?

Can anyone share some experience at creating such helper ? Or way to find solution in such cases? ( I mean that this things not fully documented )

Thx in advance




Aucun commentaire:

Enregistrer un commentaire