Lint changes

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 17:26:41 +03:00
parent eb2de5460c
commit 4d3a071e66
291 changed files with 28450 additions and 26621 deletions

View file

@ -1,53 +1,53 @@
const ContextMenuProps = [
{
name: "model",
type: "array",
default: "null",
description: "An array of menuitems."
name: 'model',
type: 'array',
default: 'null',
description: 'An array of menuitems.'
},
{
name: "appendTo",
type: "string",
default: "body",
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
name: 'appendTo',
type: 'string',
default: 'body',
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached.'
},
{
name: "baseZIndex",
type: "number",
default: "0",
description: "Base zIndex value to use in layering."
name: 'baseZIndex',
type: 'number',
default: '0',
description: 'Base zIndex value to use in layering.'
},
{
name: "autoZIndex",
type: "boolean",
default: "true",
description: "Whether to automatically manage layering."
name: 'autoZIndex',
type: 'boolean',
default: 'true',
description: 'Whether to automatically manage layering.'
},
{
name: "global",
type: "boolean",
default: "false",
description: "Attaches the menu to document instead of a particular item."
name: 'global',
type: 'boolean',
default: 'false',
description: 'Attaches the menu to document instead of a particular item.'
},
{
name: "exact",
type: "boolean",
default: "true",
name: 'exact',
type: 'boolean',
default: 'true',
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
}
];
const ContextMenuSlots = [
{
name: "item",
description: "Template of a menuitem."
name: 'item',
description: 'Template of a menuitem.'
}
];
module.exports = {
contextmenu: {
name: "ContextMenu",
description: "ContextMenu displays an overlay menu on right click of its target.",
name: 'ContextMenu',
description: 'ContextMenu displays an overlay menu on right click of its target.',
props: ContextMenuProps,
slots: ContextMenuSlots
}