mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Unified slide animation for toggleable content
This commit is contained in:
parent
3afa9bbe9a
commit
1d279b920d
5 changed files with 29 additions and 68 deletions
|
@ -11,8 +11,8 @@
|
|||
<span :class="['p-menuitem-icon', item.icon]"></span>
|
||||
<span class="p-menuitem-text">{{item.label}}</span>
|
||||
</a>
|
||||
<transition name="p-panelmenu-content-wrapper">
|
||||
<div class="p-panelmenu-content-wrapper" v-show="item === activeItem">
|
||||
<transition name="p-toggleable-content">
|
||||
<div class="p-toggleable-content" v-show="item === activeItem">
|
||||
<sub-panelmenu :model="item.items" v-if="item.visible !== false && item.items" :key="item.label + '_sub_'" />
|
||||
</div>
|
||||
</transition>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue