Refactor #4136 - Rename tab with tabpanel and accordiontab
parent
ee95a5e641
commit
f6743c521f
|
@ -63,8 +63,13 @@ export interface AccordionPassThroughOptions {
|
|||
root?: AccordionPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to AccordionTab helper components.
|
||||
* @deprecated since v3.30.1. Use 'accordiontab' property instead.
|
||||
*/
|
||||
tab?: AccordionTabPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to AccordionTab helper components.
|
||||
*/
|
||||
accordiontab?: AccordionTabPassThroughOptionType;
|
||||
/**
|
||||
* Uses to manage all lifecycle hooks
|
||||
* @see {@link BaseComponent.ComponentHooks}
|
||||
|
|
|
@ -112,7 +112,7 @@ export default {
|
|||
}
|
||||
};
|
||||
|
||||
return mergeProps(this.ptm(`tab.${key}`, { tab: tabMetaData }), this.ptm(`accordiontab.${key}`, tabMetaData), this.ptmo(this.getTabProp(tab, 'pt'), key, tabMetaData));
|
||||
return mergeProps(this.ptm(`tab.${key}`, { tab: tabMetaData }), this.ptm(`accordiontab.${key}`, { accordiontab: tabMetaData }), this.ptm(`accordiontab.${key}`, tabMetaData), this.ptmo(this.getTabProp(tab, 'pt'), key, tabMetaData));
|
||||
},
|
||||
onTabClick(event, tab, index) {
|
||||
this.changeActiveIndex(event, tab, index);
|
||||
|
|
|
@ -83,8 +83,13 @@ export interface TabViewPassThroughOptions {
|
|||
panelContainer?: TabViewPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to TabPanel helper components.
|
||||
* @deprecated since v3.30.1. Use 'tabpanel' property instead.
|
||||
*/
|
||||
tab?: TabPanelPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to TabPanel helper components.
|
||||
*/
|
||||
tabpanel?: TabPanelPassThroughOptionType;
|
||||
/**
|
||||
* Uses to manage all lifecycle hooks
|
||||
* @see {@link BaseComponent.ComponentHooks}
|
||||
|
|
|
@ -163,7 +163,7 @@ export default {
|
|||
}
|
||||
};
|
||||
|
||||
return mergeProps(this.ptm(`tab.${key}`, { tab: tabMetaData }), this.ptm(`tabpanel.${key}`, tabMetaData), this.ptmo(this.getTabProp(tab, 'pt'), key, tabMetaData));
|
||||
return mergeProps(this.ptm(`tab.${key}`, { tab: tabMetaData }), this.ptm(`tabpanel.${key}`, { tabpanel: tabMetaData }), this.ptm(`tabpanel.${key}`, tabMetaData), this.ptmo(this.getTabProp(tab, 'pt'), key, tabMetaData));
|
||||
},
|
||||
onScroll(event) {
|
||||
this.scrollable && this.updateButtonState();
|
||||
|
|
Loading…
Reference in New Issue