Add HTML data for the custom incrementer element

This commit is contained in:
Oliver-Akins 2024-04-07 23:07:41 -06:00
parent e0a3b4985b
commit 1558468526
2 changed files with 24 additions and 2 deletions

19
.vscode/components.html-data.json vendored Normal file
View file

@ -0,0 +1,19 @@
{
"version": 1.1,
"tags": [
{
"name": "dd-incrementer",
"description": "A number input that allows more flexible increase/decrease buttons",
"attributes": [
{ "name": "value", "description": "The initial value to put in the input" },
{ "name": "name", "description": "The form name to use when this input is used to submit data" },
{ "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" }
]
}
],
"globalAttributes": [],
"valueSets": []
}

View file

@ -12,5 +12,8 @@
"node_modules": true, "node_modules": true,
"packs": true, "packs": true,
".gitattributes": true, ".gitattributes": true,
} },
} "html.customData": [
"./.vscode/components.html-data.json"
]
}