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
64
packages/primevue/scripts/components/dock.js
Normal file
64
packages/primevue/scripts/components/dock.js
Normal file
|
@ -0,0 +1,64 @@
|
|||
const DockProps = [
|
||||
{
|
||||
name: 'model',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: 'MenuModel instance to define the action items.'
|
||||
},
|
||||
{
|
||||
name: 'position',
|
||||
type: 'string',
|
||||
default: 'bottom',
|
||||
description: "Position of element. Valid values are 'bottom', 'top', 'left' and 'right'."
|
||||
},
|
||||
{
|
||||
name: 'class',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Style class of the element.'
|
||||
},
|
||||
{
|
||||
name: 'style',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: 'Inline style of the element.'
|
||||
},
|
||||
{
|
||||
name: 'tooltipOptions',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'."
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass attributes to DOM elements inside the component.'
|
||||
},
|
||||
{
|
||||
name: 'unstyled',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'When enabled, it removes component related styles in the core.'
|
||||
}
|
||||
];
|
||||
|
||||
const DockSlots = [
|
||||
{
|
||||
name: 'item',
|
||||
description: 'Custom content for the item.'
|
||||
},
|
||||
{
|
||||
name: 'icon',
|
||||
description: 'Custom content for the icon.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
dock: {
|
||||
name: 'Dock',
|
||||
description: 'Dock is a navigation component consisting of menuitems.',
|
||||
props: DockProps,
|
||||
slots: DockSlots
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue