aboutsummaryrefslogtreecommitdiff
path: root/input/string.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/string.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/string.d.ts')
-rw-r--r--input/string.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/string.d.ts b/input/string.d.ts
index f0a36fe..a47f90d 100644
--- a/input/string.d.ts
+++ b/input/string.d.ts
@@ -1,5 +1,5 @@
export interface WuiInputStringOpts {
- label: string;
+ label: string | HTMLElement;
value: string;
id?: string;
hint?: string;