2021-07-27 10:18:00 +00:00
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."
2021-08-27 13:41:51 +00:00
} ,
{
name : "exact" ,
type : "boolean" ,
default : "true" ,
description : "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2021-08-31 11:29:01 +00:00
} ,
{
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'."
2021-07-27 10:18:00 +00:00
}
] ;
const DockSlots = [
{
name : "item" ,
description : "Custom content for the item."
2021-10-12 09:19:52 +00:00
} ,
{
name : "icon" ,
description : "Custom content for the item."
2021-07-27 10:18:00 +00:00
}
] ;
module . exports = {
dock : {
name : "Dock" ,
description : "Dock is a navigation component consisting of menuitems." ,
props : DockProps ,
slots : DockSlots
}
2021-08-31 11:29:01 +00:00
}