mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #4728
This commit is contained in:
parent
e8ebb9bf3f
commit
b957ea422d
16 changed files with 74 additions and 13 deletions
|
@ -6,7 +6,7 @@
|
|||
<span v-else-if="icon" :class="[cx('icon'), icon]" v-bind="ptm('icon')" />
|
||||
<div v-if="label" :class="cx('label')" v-bind="ptm('label')">{{ label }}</div>
|
||||
</slot>
|
||||
<slot v-if="removable" name="removeicon" :onClick="close" :onKeydown="onKeydown">
|
||||
<slot v-if="removable" name="removeicon" :onClick="close" :onKeydown="onKeydown" :removeCallback="close" :keydownCallback="onKeydown">
|
||||
<component :is="removeIcon ? 'span' : 'TimesCircleIcon'" tabindex="0" :class="[cx('removeIcon'), removeIcon]" @click="close" @keydown="onKeydown" v-bind="ptm('removeIcon')"></component>
|
||||
</slot>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue