mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #3794 - TabView: new passthrough(pt) property implementation
This commit is contained in:
parent
0880120766
commit
b63bc4db2f
6 changed files with 219 additions and 15 deletions
|
@ -40,6 +40,12 @@ const TabViewProps = [
|
|||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Uses to pass all properties of the HTMLButtonElement to the next button.'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Uses to pass attributes to DOM elements inside the component.'
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -78,11 +84,27 @@ const TabViewEvents = [
|
|||
}
|
||||
];
|
||||
|
||||
const TabViewSlots = [
|
||||
{
|
||||
name: 'default',
|
||||
description: 'Default slot to detect TabPanel components.'
|
||||
},
|
||||
{
|
||||
name: 'previcon',
|
||||
description: 'Previous button icon template for the scrollable component.'
|
||||
},
|
||||
{
|
||||
name: 'nexticon',
|
||||
description: 'Next button icon template for the scrollable component.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
tabview: {
|
||||
name: 'TabView',
|
||||
description: 'TabView is a container component to group content with tabs.',
|
||||
props: TabViewProps,
|
||||
event: TabViewEvents
|
||||
event: TabViewEvents,
|
||||
slots: TabViewSlots
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue