mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
82
packages/primevue/scripts/components/accordiontab.js
Normal file
82
packages/primevue/scripts/components/accordiontab.js
Normal file
|
@ -0,0 +1,82 @@
|
|||
const AccordionTabProps = [
|
||||
{
|
||||
name: 'header',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Orientation of tab headers.'
|
||||
},
|
||||
{
|
||||
name: 'headerStyle',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Inline style of the tab header.'
|
||||
},
|
||||
{
|
||||
name: 'headerClass',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Style class of the tab header.'
|
||||
},
|
||||
{
|
||||
name: 'headerProps',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass all properties of the HTMLDivElement to the tab header.'
|
||||
},
|
||||
{
|
||||
name: 'headerActionProps',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.'
|
||||
},
|
||||
{
|
||||
name: 'contentStyle',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Inline style of the tab content.'
|
||||
},
|
||||
{
|
||||
name: 'contentClass',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Style class of the tab content.'
|
||||
},
|
||||
{
|
||||
name: 'contentProps',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass all properties of the HTMLDivElement to the tab content.'
|
||||
},
|
||||
{
|
||||
name: 'disabled',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Whether the tab is disabled.'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass attributes to DOM elements inside the component.'
|
||||
}
|
||||
];
|
||||
|
||||
const AccordionTabSlots = [
|
||||
{
|
||||
name: 'header',
|
||||
description: 'Custom content for the title section of a AccordionTab is defined using the header template.'
|
||||
},
|
||||
{
|
||||
name: 'headericon',
|
||||
description: 'Custom icon for the header section of a AccordionTab is defined using the headericon template.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
accordiontab: {
|
||||
name: 'AccordionTab',
|
||||
description: 'Accordion element consists of one or more AccordionTab elements.',
|
||||
props: AccordionTabProps,
|
||||
slots: AccordionTabSlots
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue