Refactor #4231 - For Fieldset

pull/4239/head
mertsincan 2023-08-02 15:00:59 +03:00
parent 7282fcb2cb
commit 8feb7efe7d
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -25,7 +25,7 @@
</slot> </slot>
</a> </a>
</legend> </legend>
<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 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')"> <div :class="cx('content')" v-bind="ptm('content')">
<slot></slot> <slot></slot>