aboutsummaryrefslogtreecommitdiff
path: root/input/select.d.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-09-11 00:02:13 +0700
committerShulhan <ms@kilabit.info>2021-09-11 00:02:13 +0700
commitaf17111480d41f4770c7129733817e0dfd2d4f7c (patch)
tree1e23764116048c9a9b57a5a5958e2b4d8dfe98a2 /input/select.d.ts
parente3da79cf1adfb6dc2d9fed2e982bcde7fe7a7161 (diff)
downloadpakakeh.ts-af17111480d41f4770c7129733817e0dfd2d4f7c.tar.xz
input: allow label to be HTMLElement instead of only string
A label on input can be a string or another HTMLElement.
Diffstat (limited to 'input/select.d.ts')
-rw-r--r--input/select.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/select.d.ts b/input/select.d.ts
index 6a568f3..88f1faa 100644
--- a/input/select.d.ts
+++ b/input/select.d.ts
@@ -6,7 +6,7 @@ export interface WuiKeySelectOption {
[key: string]: WuiInputOption;
}
export interface WuiInputSelectOpts {
- label: string;
+ label: string | HTMLElement;
name: string;
options: WuiKeySelectOption;
id?: string;