Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4840

Query Params and DDAU

$
0
0

@Shadamedafas wrote:

I'm currently building out a route controller that has a query param that is used to determine the display state of a child component. Basically whether to display the data as a table or graph.

As it is currently built, the controller passes the property to the component, and the component can modify the property through a select element. In this configuration, the value is 2 way bound, which is something I would like to avoid.

What would be the most correct method for passing the query param to the component as read only data so that I can manipulate it via action?

Some blog posts have lead me to the readonly helper, but I'm weary to use it as I haven't found any documentation on it.

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4840

Trending Articles