File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/evo-marko/src/tags/evo-number-input Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,12 @@ export type Input = Omit<TextboxInput, "value" | "valueChange"> & {
44 valueChange? : (value ? : number ) => void ;
55 min? : number ;
66 max? : number ;
7- a11yDeleteText? : Marko .HTMLAttributes [" aria-label" ];
7+ /**
8+ * The `aria-label` for the delete button
9+ *
10+ * English default to be overridden is `"Delete"`
11+ */
12+ a11yDeleteText: Marko .HTMLAttributes [" aria-label" ];
813 onIncrement? : (event : Event , target : HTMLElement , value : number ) => void ;
914 onDecrement? : (event : Event , target : HTMLElement , value : number ) => void ;
1015 onDelete? : (event : Event , target : HTMLElement ) => void ;
@@ -18,7 +23,7 @@ export type Input = Omit<TextboxInput, "value" | "valueChange"> & {
1823<const /{
1924 label,
2025 a11yText,
21- a11yDeleteText,
26+ a11yDeleteText = " Delete " ,
2227 class : inputClass,
2328 min = defaultMin ,
2429 max = Infinity ,
You can’t perform that action at this time.
0 commit comments