mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
update api-generator
This commit is contained in:
parent
1c0f4acf0c
commit
23002bdad8
2 changed files with 189 additions and 0 deletions
42
api-generator/components/dock.js
Normal file
42
api-generator/components/dock.js
Normal file
|
@ -0,0 +1,42 @@
|
|||
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."
|
||||
}
|
||||
];
|
||||
|
||||
const DockSlots = [
|
||||
{
|
||||
name: "item",
|
||||
description: "Custom content for the item."
|
||||
}
|
||||
];
|
||||
|
||||
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