about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-13 18:58:57 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-13 18:58:57 +0100
commit8b841c16743b88802f1ff161b96d1908fd46964c (patch)
tree3a7679cfd6b9b32eab74898255ddb4ae71230b12 /src
parente150db7084865f736e0af213120e0d9ba7786f6d (diff)
downloadchawan-8b841c16743b88802f1ff161b96d1908fd46964c.tar.gz
dom: add DocumentType name, publicId, systemId getters
Diffstat (limited to 'src')
-rw-r--r--src/html/dom.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 4dde07d2..950c2903 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -259,9 +259,9 @@ type
     host*: Element
 
   DocumentType* = ref object of Node
-    name*: string
-    publicId*: string
-    systemId*: string
+    name* {.jsget.}: string
+    publicId* {.jsget.}: string
+    systemId* {.jsget.}: string
 
   AttrData* = object
     qualifiedName*: CAtom