Refactored input switch
parent
96177cbc60
commit
f2cfc6eb38
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div :class="containerClass" @click="onClick($event)">
|
||||
<div class="p-hidden-accessible">
|
||||
<input :id="inputId" ref="input" role="switch" :checked="checked" :disabled="disabled" :aria-checked="checked"
|
||||
<input :id="inputId" ref="input" type="checkbox" role="switch" :checked="checked" :disabled="disabled"
|
||||
@focus="onFocus($event)" @blur="onBlur($event)" v-bind="inputProps">
|
||||
</div>
|
||||
<span class="p-inputswitch-slider"></span>
|
||||
|
|
Loading…
Reference in New Issue