aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-30 18:40:00 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-30 18:40:00 +0100
commitef9845ec7f90febd358003b73fc6488c6e22e87e (patch)
tree0df56ef4aa242ce1f85036c844ddb9af05f943c8 /src
parent799a5783864c9312d1ef5e6d039d08010d766b95 (diff)
downloadchawan-ef9845ec7f90febd358003b73fc6488c6e22e87e.tar.gz
dom: add input type getter/setter
Diffstat (limited to 'src')
-rw-r--r--src/html/dom.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 49882b1b..759191a8 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -282,7 +282,7 @@ type
parserInserted*: bool
HTMLInputElement* = ref object of FormAssociatedElement
- inputType*: InputType
+ inputType* {.jsgetset: "type".}: InputType
value* {.jsget.}: string
internalChecked {.jsget: "checked".}: bool
xcoord*: int