diff options
| author | Shulhan <ms@kilabit.info> | 2021-09-11 00:31:23 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-09-11 00:31:23 +0700 |
| commit | 42ebec89d615989a95019f7d1234a79e415bc207 (patch) | |
| tree | 006f18e8a4d1e6ffd7d6b6e690f27fa15f97e7df /input/string.d.ts | |
| parent | af17111480d41f4770c7129733817e0dfd2d4f7c (diff) | |
| download | pakakeh.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.ts | 2 |
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; } |
