Skip to content
On this page

switch

template

html
<bunt-switch id="switch-none" name="switch-none" label="turn me ooooon" v-model="switch" />

style

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

has no mixin

Released under the MIT License.