@navlan wrote:
Hi, How can I click on button and then display a box on same page?
for example, I have a DIV that it is hidden in a template by IF condition, as long as parameter == false. Then I would like to click a button on the page, update the value of parameter in the URL, then let the page read the query parameter and then if it is true, IF Condition will be true and therefore the DIV will be visible.
How can I achieve this using ember? what should be in router, controller and template ?
Thanks in advance.
Posts: 3
Participants: 2