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