Skip to content
On this page

checkbox

template

html
<bunt-checkbox id="chbox-none" name="check-none" label="turn me ooooon" v-model="check" />
<bunt-checkbox id="chbox-small" name="check-small" label="I'm small!" v-model="check" />

style

#chbox-small
	checkbox-style(size: small)

props

proptyperequireddefaultdescription
namestringtruenative input name
labelstringfalsefloating label
placeholderstringfalsenative placeholder text
valuebooleanfalsefalsevalue (or use v-model)
disabledbooleanfalsefalsedisables input

slots

slotdescription

events

eventargsdescription
inputvalueemitted on every keypress or input (or use v-model)

style mixin parameters

parametertypedefaultdescription
sizenormal, smallnormalcheckbox size

Released under the MIT License.