Refactor #4231 - For Accordion
parent
38faf56b40
commit
1e7750de9b
|
@ -27,7 +27,7 @@
|
|||
<component v-if="tab.children && tab.children.header" :is="tab.children.header"></component>
|
||||
</a>
|
||||
</div>
|
||||
<transition name="p-toggleable-content">
|
||||
<transition name="p-toggleable-content" v-bind="getTabPT(tab, 'transition', i)">
|
||||
<div
|
||||
v-if="lazy ? isTabActive(i) : true"
|
||||
v-show="lazy ? true : isTabActive(i)"
|
||||
|
|
|
@ -56,6 +56,10 @@ export interface AccordionTabPassThroughOptions {
|
|||
* Used to pass attributes to the content's DOM element.
|
||||
*/
|
||||
content?: AccordionTabPassThroughOptionType;
|
||||
/**
|
||||
* Used to control Vue Transition API.
|
||||
*/
|
||||
transition?: any;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue