Collapse and expand each loop through button click

I have an each loop that looks like this:
{{#each order}}
{{Name}} {{price}}


{{/each}}
I will like to have a button that expands and collapses the rows this block of code produces. can anyone help as i am quite new to meteor and javascript.

This is not really related with meteor or blaze.

Just write proper html code and you can use template.events to trigger show/hide methods.

Accordions can be one type of approach for this.