mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
data-pc-section updates
This commit is contained in:
parent
af8b22e4c9
commit
f70147abd9
6 changed files with 13 additions and 13 deletions
|
@ -17,8 +17,8 @@
|
|||
>
|
||||
<template #icon>
|
||||
<slot name="icon" :visible="d_visible">
|
||||
<component v-if="d_visible && !!hideIcon" :is="hideIcon ? 'span' : 'PlusIcon'" :class="cx('buttonIcon')" v-bind="ptm('button')['icon']" />
|
||||
<component v-else :is="showIcon ? 'span' : 'PlusIcon'" :class="d_visible && !!hideIcon ? hideIcon : showIcon" v-bind="ptm('button')['icon']" />
|
||||
<component v-if="d_visible && !!hideIcon" :is="hideIcon ? 'span' : 'PlusIcon'" :class="cx('buttonIcon')" v-bind="ptm('button')['icon']" data-pc-section="icon" />
|
||||
<component v-else :is="showIcon ? 'span' : 'PlusIcon'" :class="d_visible && !!hideIcon ? hideIcon : showIcon" v-bind="ptm('button')['icon']" data-pc-section="icon" />
|
||||
</slot>
|
||||
</template>
|
||||
</SDButton>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue