vendredi 16 décembre 2016

In Ember, how do I transmute sticky query parameters a user enters?

Fairly new to Ember so I apologize if I'm using the wrong terminology here. I have a form with sticky parameters that's binding a user modifying that form to the URL also changing, but I'd like to run an additional transformation (for example, hashing that value), but I'm not sure how to hook into this behavior.

My initial reaction was to hook into didTransition as it looks like this fires every time the form is modified, but it doesn't look like didTransition has access to the query parameters. I'd appreciate any help here.




Aucun commentaire:

Enregistrer un commentaire