Add custom data for Foundry / RipCrypt custom elements

This commit is contained in:
Oliver-Akins 2025-01-19 16:11:56 -07:00
parent 04ec35113b
commit 27d924e336
3 changed files with 54 additions and 1 deletions

18
.vscode/foundry.html-data.json vendored Normal file
View file

@ -0,0 +1,18 @@
{
"version": 1.1,
"globalAttributes": [
{ "name": "data-tooltip", "description": "The content for the tooltip to display" },
{ "name": "data-tooltip-direction", "description": "The direction that the tooltip renders in, in relation to the element that has the tooltip", "valueSet": "tooltip-direction" }
],
"valueSets": [
{
"name": "tooltip-direction",
"values": [
{ "name": "UP", "description": "Put the tooltip above the element" },
{ "name": "LEFT", "description": "Put the tooltip to the left of the element" },
{ "name": "RIGHT", "description": "Put the tooltip to the right of element" },
{ "name": "DOWN", "description": "Put the tooltip below the element" }
]
}
]
}