Begin making the proper CSS for the component

This commit is contained in:
Oliver-Akins 2024-04-04 22:48:19 -06:00
parent 566faf61d2
commit e0a3b4985b
3 changed files with 10 additions and 9 deletions

View file

@ -1,8 +1,11 @@
/**
Attributes:
@property {number} value
@property {number} stepSize
@property {number} largeStepSize
@property {string} name - The path to the value to update
@property {number} value - The actual value of the input
Styling:
- `--height`: Controls the height of the element + the width of the buttons (default: 1.25rem)
- `--width`: Controls the width of the number input (default 50px)
*/
export class DotDungeonIncrementer extends HTMLElement {
static elementName = `dd-incrementer`;