mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3832 - Button icon template updates
This commit is contained in:
parent
f6c520c53d
commit
813fa97075
6 changed files with 115 additions and 69 deletions
|
@ -15,9 +15,11 @@
|
|||
@keydown="onDropdownKeydown"
|
||||
v-bind="menuButtonProps"
|
||||
>
|
||||
<slot name="menubuttonicon">
|
||||
<component :is="menuButtonIcon ? 'span' : 'ChevronDownIcon'" :class="menuButtonIcon" />
|
||||
</slot>
|
||||
<template #icon>
|
||||
<slot name="menubuttonicon">
|
||||
<component :is="menuButtonIcon ? 'span' : 'ChevronDownIcon'" :class="menuButtonIcon" />
|
||||
</slot>
|
||||
</template>
|
||||
</PVSButton>
|
||||
<PVSMenu ref="menu" :id="ariaId + '_overlay'" :model="model" :popup="true" :autoZIndex="autoZIndex" :baseZIndex="baseZIndex" :appendTo="appendTo" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue