diff options
| author | Shulhan <ms@kilabit.info> | 2021-09-19 01:14:33 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-09-19 01:17:00 +0700 |
| commit | 19994275a9f238dbbb2d73702bba355faaa12a0d (patch) | |
| tree | b7e6a8b90f0b2c4472a044f278f4b6199c49478f /input/checkboxes.d.ts | |
| parent | 0db6b1d2f83b19a929889df2108de20f4d522066 (diff) | |
| download | pakakeh.ts-19994275a9f238dbbb2d73702bba355faaa12a0d.tar.xz | |
input: add option "is_hint_toggled"
If the "is_hint_toggled" is true, the hint text will be displayed
by default on first render, instead of hidden.
While at it, add 2px to the top margin of the hint element to make it
separatable from the input element.
Diffstat (limited to 'input/checkboxes.d.ts')
| -rw-r--r-- | input/checkboxes.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/input/checkboxes.d.ts b/input/checkboxes.d.ts index 89a35d3..dde0476 100644 --- a/input/checkboxes.d.ts +++ b/input/checkboxes.d.ts @@ -12,6 +12,7 @@ export interface WuiInputCheckboxesOpts { id?: string; hint?: string; is_disabled?: boolean; + is_hint_toggled?: boolean; onChangeHandler?: (values: string[]) => void; } export declare class WuiInputCheckboxes { |
