2022-09-12 07:13:52 +00:00
const DockProps = [
{
2022-09-14 14:26:41 +00:00
name : 'model' ,
type : 'object' ,
default : 'null' ,
description : 'MenuModel instance to define the action items.'
2022-09-12 07:13:52 +00:00
} ,
{
2022-09-14 14:26:41 +00:00
name : 'position' ,
type : 'string' ,
default : 'bottom' ,
2022-09-12 07:13:52 +00:00
description : "Position of element. Valid values are 'bottom', 'top', 'left' and 'right'."
} ,
{
2022-09-14 14:26:41 +00:00
name : 'class' ,
type : 'string' ,
default : 'null' ,
description : 'Style class of the element.'
2022-09-12 07:13:52 +00:00
} ,
{
2022-09-14 14:26:41 +00:00
name : 'style' ,
type : 'object' ,
default : 'null' ,
description : 'Inline style of the element.'
2022-09-12 07:13:52 +00:00
} ,
{
2022-09-14 14:26:41 +00:00
name : 'exact' ,
type : 'boolean' ,
default : 'true' ,
2022-09-12 07:13:52 +00:00
description : "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
} ,
{
2022-09-14 14:26:41 +00:00
name : 'tooltipOptions' ,
type : 'object' ,
default : 'null' ,
2022-09-12 07:13:52 +00:00
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'."
2023-04-26 10:49:14 +00:00
} ,
{
name : 'pt' ,
type : 'any' ,
default : 'null' ,
description : 'Uses to pass attributes to DOM elements inside the component.'
2022-09-12 07:13:52 +00:00
}
] ;
const DockSlots = [
{
2022-09-14 14:26:41 +00:00
name : 'item' ,
description : 'Custom content for the item.'
2022-09-12 07:13:52 +00:00
} ,
{
2022-09-14 14:26:41 +00:00
name : 'icon' ,
description : 'Custom content for the icon.'
2022-09-12 07:13:52 +00:00
}
] ;
module . exports = {
dock : {
2022-09-14 14:26:41 +00:00
name : 'Dock' ,
description : 'Dock is a navigation component consisting of menuitems.' ,
2022-09-12 07:13:52 +00:00
props : DockProps ,
slots : DockSlots
}
2022-09-14 14:26:41 +00:00
} ;