I have a large number of query parameters to a route right now, and I have a component that resides in the route's template.
I want my query parameters to get updated upon change inside the component, so I pass in the query parameters via the component like:
{{comp-name query_param1=query_param1 ... query_param=query_param20 }}
I currently update the query params in the component with:
{{input value=query_param_x}}
However, this quickly gets tedious and overwhelmingly long as I will be passing in 20 parameters. Is there a way to make this more concise?
Note: The application I am developing is on Ember 1.12 and not using ember-data.
Aucun commentaire:
Enregistrer un commentaire