Refactor #3797 - TabView updates

pull/3841/head
Tuğçe Küçükoğlu 2023-03-24 16:19:23 +03:00
parent ccf41aed48
commit 47b97b485f
2 changed files with 2 additions and 2 deletions

View File

@ -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;
} }
/** /**

View File

@ -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"