aboutsummaryrefslogtreecommitdiff
path: root/input/number.ts
diff options
context:
space:
mode:
Diffstat (limited to 'input/number.ts')
-rw-r--r--input/number.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/input/number.ts b/input/number.ts
index 990d94a..9a2c514 100644
--- a/input/number.ts
+++ b/input/number.ts
@@ -194,4 +194,9 @@ export class WuiInputNumber {
}
return true
}
+
+ // Set the input value.
+ Set(v: number) {
+ this.el_input.value = ""+ v
+ }
}