Refactor #3797 - TabView updates
parent
ccf41aed48
commit
47b97b485f
|
@ -82,7 +82,7 @@ export interface TabViewPassThroughOptions {
|
||||||
/**
|
/**
|
||||||
* Uses to pass attributes to the panel's DOM element.
|
* Uses to pass attributes to the panel's DOM element.
|
||||||
*/
|
*/
|
||||||
panelcontent?: TabViewPassThroughOptionType;
|
panelcontainer?: TabViewPassThroughOptionType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
</slot>
|
</slot>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-tabview-panels" v-bind="ptm('panelcontent')">
|
<div class="p-tabview-panels" v-bind="ptm('panelcontainer')">
|
||||||
<template v-for="(tab, i) of tabs" :key="getKey(tab, i)">
|
<template v-for="(tab, i) of tabs" :key="getKey(tab, i)">
|
||||||
<div
|
<div
|
||||||
v-if="lazy ? isTabActive(i) : true"
|
v-if="lazy ? isTabActive(i) : true"
|
||||||
|
|
Loading…
Reference in New Issue