From 91329828bba4f1d6aa8ddfb3e9f801f0d25a4c41 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 11 Nov 2023 12:55:23 +0700 Subject: input: use lower case for method name Set --- input/number.ts | 4 ++-- input/select.ts | 4 ++-- input/string.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/input/number.ts b/input/number.ts index e5c22a1..8c33dbc 100644 --- a/input/number.ts +++ b/input/number.ts @@ -200,8 +200,8 @@ export class WuiInputNumber { return true; } - // Set the input value. - Set(v: number) { + // set the input value. + set(v: number) { this.el_input.value = "" + v; } } diff --git a/input/select.ts b/input/select.ts index e874a29..92bce8f 100644 --- a/input/select.ts +++ b/input/select.ts @@ -191,8 +191,8 @@ export class WuiInputSelect { return true; } - // Set the input value. - Set(v: string) { + // set the input value. + set(v: string) { this.el_input.value = v; } } diff --git a/input/string.ts b/input/string.ts index f37a68f..c914ea6 100644 --- a/input/string.ts +++ b/input/string.ts @@ -154,8 +154,8 @@ export class WuiInputString { } } - // Set the input value. - Set(v: string) { + // set the input value. + set(v: string) { this.el_input.value = v; } } -- cgit v1.3