Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

vuejs checkbox

<input type="checkbox" id="jack" value="Jack" v-model="checkedNames">
<label for="jack">Jack</label>
<input type="checkbox" id="john" value="John" v-model="checkedNames">
<label for="john">John</label>
<input type="checkbox" id="mike" value="Mike" v-model="checkedNames">
<label for="mike">Mike</label>
<br>
<span>Noms cochés : {{ checkedNames }}</span>
Source by fr.vuejs.org #
 
PREVIOUS NEXT
Tagged: #vuejs #checkbox
ADD COMMENT
Topic
Name
9+6 =