Is it possible to get all attrs defined in an Ember component? E.g. if someone uses it like this
{{my-datepicker one='option' another='option' ... }}
in the component code can I grab or iterate over all the options that were passed in?
I believe this is going to be much simpler with block params + other forthcoming improvements, but is there a hacky way to do this right now?
Aucun commentaire:
Enregistrer un commentaire