I want to have control over an Ember component before the attributes get updated. (Conditionally setting attributes' values with static values belonging to a specific component). Ideally, I want to have something like willUpdateAttrs
. But I couldn't find anything similar in the documentation. Does anyone know if this is available in Ember? If not, what would you suggest me to do?
Note: I'm aware there's a willUpdate
method, but it's called when the component is about to update but not when the attributes is about to update.
Any help would be much appreciated! Thanks!
Aucun commentaire:
Enregistrer un commentaire