Refactor
parent
32a0d4c762
commit
661f09fd93
|
@ -27,7 +27,7 @@
|
|||
:unstyled="unstyled"
|
||||
/>
|
||||
<!-- TODO: hideicon and showicon slots are deprecated since v4.0-->
|
||||
<slot v-if="toggleMask && unmasked" :name="$slots.maskicon ? 'maskicon' : 'hideicon'" : :toggleCallback="onMaskToggle">
|
||||
<slot v-if="toggleMask && unmasked" :name="$slots.maskicon ? 'maskicon' : 'hideicon'" :toggleCallback="onMaskToggle">
|
||||
<component :is="maskIcon ? 'i' : 'EyeSlashIcon'" :class="[cx('maskIcon'), maskIcon]" @click="onMaskToggle" v-bind="ptm('maskIcon')" />
|
||||
</slot>
|
||||
<slot v-if="toggleMask && !unmasked" :name="$slots.unmaskicon ? 'unmaskicon' : 'showicon'" :toggleCallback="onMaskToggle">
|
||||
|
|
Loading…
Reference in New Issue