mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Refactor #4231 - For Accordion
This commit is contained in:
parent
38faf56b40
commit
1e7750de9b
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue