aboutsummaryrefslogtreecommitdiff
path: root/input/string.d.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-09-11 00:31:23 +0700
committerShulhan <ms@kilabit.info>2021-09-11 00:31:23 +0700
commit42ebec89d615989a95019f7d1234a79e415bc207 (patch)
tree006f18e8a4d1e6ffd7d6b6e690f27fa15f97e7df /input/string.d.ts
parentaf17111480d41f4770c7129733817e0dfd2d4f7c (diff)
downloadpakakeh.ts-42ebec89d615989a95019f7d1234a79e415bc207.tar.xz
input: add options to add custom CSS class to label and input
The input options for string, number, and select now have two additional options: "class_label" and "class_input". The "class_label" option will add custom CSS class to the input label. The "class_input" option will add custom CSS class to the input group.
Diffstat (limited to 'input/string.d.ts')
-rw-r--r--input/string.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/string.d.ts b/input/string.d.ts
index a47f90d..8159f66 100644
--- a/input/string.d.ts
+++ b/input/string.d.ts
@@ -3,6 +3,8 @@ export interface WuiInputStringOpts {
value: string;
id?: string;
hint?: string;
+ class_label?: string;
+ class_input?: string;
is_disabled?: boolean;
onChangeHandler?: (new_value: string) => void;
}