Files
watchstate/frontend/web-types.json
2025-04-10 00:18:15 +03:00

69 lines
2.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"framework": "vue",
"js-types-syntax": "typescript",
"description-markup": "markdown",
"framework-config": {
"enable-when": {
"file-extensions": [
"vue"
]
}
},
"contributions": {
"html": {
"vue-directives": [
{
"name": "tooltip",
"description": "Create a tooltip for an element.",
"doc-url": "",
"attribute-value": {
"type": "string",
"required": true
},
"modifiers": [
{
"name": "top",
"description": "Position the tooltip at the top of the element."
},
{
"name": "bottom",
"description": "Position the tooltip at the bottom of the element."
},
{
"name": "left",
"description": "Position the tooltip at the left of the element."
},
{
"name": "right",
"description": "Position the tooltip at the right of the element."
}
]
},
{
"name": "highlight",
"description": "Highlight an element.",
"doc-url": ""
},
{
"name": "autoscroll",
"description": "Automatically scroll to an element.",
"doc-url": ""
},
{
"name": "sortable",
"description": "Automatically sort.",
"doc-url": ""
}
],
"vue-components": [
{
"name": "VTooltip",
"description": "Create more advanced tooltips.",
"doc-url": "https://floating-vue.starpad.dev/guide/component#tooltip"
}
]
}
}
}