@Arunkumar_V wrote:
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
Posts: 1
Participants: 1