Realize I haven't updated the html-data for my custom elements and correct the descriptions

This commit is contained in:
Oliver 2026-03-19 23:32:20 -06:00
parent 2b0fbdfa8b
commit 92553cb1f1

View file

@ -2,24 +2,36 @@
"version": 1.1, "version": 1.1,
"tags": [ "tags": [
{ {
"name": "dd-incrementer", "name": "taf-icon",
"description": "A number input that allows more flexible increase/decrease buttons", "description": "Loads an icon asynchronously, caching the result for future uses",
"attributes": [ "attributes": [
{ "name": "value", "description": "The initial value to put in the input" }, { "name": "name", "description": "The name of the icon, this is relative to the assets folder of the system" },
{ "name": "name", "description": "The form name to use when this input is used to submit data" }, { "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." }
{ "name": "min", "description": "The minimum value that this input can contain" },
{ "name": "max", "description": "The maximum value that this input can contain" },
{ "name": "smallStep", "description": "The value that the input is changed by when clicking a delta button or using the up/down arrow key" },
{ "name": "largeStep", "description": "The value that the input is changed by when clicking a delta button with control held or using the page up/ page down arrow key" }
] ]
}, },
{ {
"name": "dd-icon", "name": "taf-svg",
"description": "Loads an icon asynchronously, caching the result for future uses", "description": "Loads an SVG file asynchronously, caching the result for future uses",
"attributes": [ "attributes": [
{ "name": "name", "description": "The name of the icon, this is relative to the assets folder of the dotdungeon system" }, { "name": "name", "description": "The name of the icon, this is relative to the assets folder of the 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": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." }
] ]
},
{
"name": "taf-toggle",
"description": "A conveniency component for a toggle switch",
"attributes": [
{
"name": "type",
"description": "The type of toggle that this should be",
"values": [
{
"name": "round",
"description": "The slider is a full circle"
}
]
}
]
} }
], ],
"globalAttributes": [], "globalAttributes": [],