Add custom data for Foundry / RipCrypt custom elements
This commit is contained in:
parent
04ec35113b
commit
27d924e336
3 changed files with 54 additions and 1 deletions
31
.vscode/ripcrypt.html-data.json
vendored
Normal file
31
.vscode/ripcrypt.html-data.json
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"version": 1.1,
|
||||
"tags": [
|
||||
{
|
||||
"name": "rc-icon",
|
||||
"description": "Loads an icon asynchronously, caching the result for future uses",
|
||||
"attributes": [
|
||||
{ "name": "name", "description": "The name of the icon, this is relative to the assets folder of the dotdungeon system" },
|
||||
{ "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." },
|
||||
{ "name": "var:size", "description": "The size of the icon, must be a valid CSS unit" },
|
||||
{ "name": "var:fill", "description": "The fill of the icon, must be a valid CSS colour" },
|
||||
{ "name": "var:stroke", "description": "The stroke colour of the icon, must be a valid CSS colour" },
|
||||
{ "name": "var:stroke-width", "description": "The stroke width of the icon, must be a valid CSS unit" },
|
||||
{ "name": "var:stroke-linejoin", "description": "The stroke linejoin of the icon, must be a valid CSS value" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "rc-svg",
|
||||
"description": "Loads an icon asynchronously, caching the result for future uses",
|
||||
"attributes": [
|
||||
{ "name": "name", "description": "The name of the icon, this is relative to the assets folder of the dotdungeon system" },
|
||||
{ "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." },
|
||||
{ "name": "var:size", "description": "The size of the icon, must be a valid CSS unit" },
|
||||
{ "name": "var:fill", "description": "The fill of the icon, must be a valid CSS colour" },
|
||||
{ "name": "var:stroke", "description": "The stroke colour of the icon, must be a valid CSS colour" },
|
||||
{ "name": "var:stroke-width", "description": "The stroke width of the icon, must be a valid CSS unit" },
|
||||
{ "name": "var:stroke-linejoin", "description": "The stroke linejoin of the icon, must be a valid CSS value" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue