pull/5848/head
tugcekucukoglu 2024-06-06 11:29:15 +03:00
parent 32a0d4c762
commit 661f09fd93
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
:unstyled="unstyled" :unstyled="unstyled"
/> />
<!-- TODO: hideicon and showicon slots are deprecated since v4.0--> <!-- 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')" /> <component :is="maskIcon ? 'i' : 'EyeSlashIcon'" :class="[cx('maskIcon'), maskIcon]" @click="onMaskToggle" v-bind="ptm('maskIcon')" />
</slot> </slot>
<slot v-if="toggleMask && !unmasked" :name="$slots.unmaskicon ? 'unmaskicon' : 'showicon'" :toggleCallback="onMaskToggle"> <slot v-if="toggleMask && !unmasked" :name="$slots.unmaskicon ? 'unmaskicon' : 'showicon'" :toggleCallback="onMaskToggle">