Toggle the class name when click the item


#1

options: [‘test’,‘test1’,‘test2’]

{{#each options as |option| }}

<div {{action 'toggleClass'}} class = ''> {{option}}</div>

<input type='text' class='hide'>

{{/each}}

Need to toggle classname between the div and input box