open-consul/ui-v2/app/templates/components/toggle-button.hbs

4 lines
173 B
Handlebars
Raw Normal View History

<input type="checkbox" id={{concat 'toggle-button-' guid}} onchange={{action 'change'}} />
<label for={{concat 'toggle-button-' guid}}>
{{yield (action 'click')}}
</label>