Refactor #4231 - For Panel

pull/4239/head
mertsincan 2023-08-02 14:04:59 +03:00
parent de86b5f2bb
commit 7e2819c5ea
2 changed files with 5 additions and 1 deletions

View File

@ -83,6 +83,10 @@ export interface PanelPassThroughOptions {
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
/**
* Used to control Vue Transition API.
*/
transition?: any;
}
/**

View File

@ -26,7 +26,7 @@
</button>
</div>
</div>
<transition name="p-toggleable-content">
<transition name="p-toggleable-content" v-bind="ptm('transition')">
<div v-show="!d_collapsed" :id="ariaId + '_content'" :class="cx('toggleablecontent')" role="region" :aria-labelledby="ariaId + '_header'" v-bind="ptm('toggleablecontent')">
<div :class="cx('content')" v-bind="ptm('content')">
<slot></slot>