dimanche 2 août 2015

Semantic-ui checkbox in Meteor

Do anyone know how to use Semantic-ui checkbox (toggle) in Meteor?

<div class="ui toggle checkbox">
 <input type="checkbox" name="public">
 <label>Subscribe to weekly newsletter</label>
</div>

The checkbox / slider is visible on the html page with a sliding effect but I cant understand how to code against the control. How to set checked / unchecked depending on a value and how to handel events.




Aucun commentaire:

Enregistrer un commentaire