I have a simple component that I'd like to provide a hook for dynamically named partials.
ideally I'd like to support this interface
{{my-thing displayPartial="wat"}}
then the user would declare a partial template "-wat.hbs" and it would be included
Currently this is what I'm doing inside the components hbs (that doesn't work)
{{partial displayPartial}}
Aucun commentaire:
Enregistrer un commentaire