Skip to content

Instantly share code, notes, and snippets.

@micaz
micaz / inputCheck.vue
Last active April 20, 2021 04:48
simple chebox input component for vue.js
<template>
<span :class="propClass">
<input
:id="inputId"
v-model="selected"
type="checkbox"
:name="inputName"
:value="value"
/>
<label :for="inputId" @click.stop="$emit('click')">