diff options
author | Antonis Geralis <43617260+planetis-m@users.noreply.github.com> | 2021-02-05 01:33:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 00:33:27 +0100 |
commit | 9ded85e1b4b4e15fc4ef049f373d60cde87fda15 (patch) | |
tree | dfca970736cba2a89d7ef0d18142de32dacd8fa9 /lib/js | |
parent | e9b360c5dfac2331a57b1cc3310fc85fe65fe7af (diff) | |
download | Nim-9ded85e1b4b4e15fc4ef049f373d60cde87fda15.tar.gz |
add createElementNS, will hopefully fix svgs for karax (#16938)
Diffstat (limited to 'lib/js')
-rw-r--r-- | lib/js/dom.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim index 58a33c926..a133f1f69 100644 --- a/lib/js/dom.nim +++ b/lib/js/dom.nim @@ -1467,6 +1467,7 @@ else: proc insertBefore*(n, newNode, before: Node) {.importcpp.} proc getElementById*(d: Document, id: cstring): Element {.importcpp.} proc createElement*(d: Document, identifier: cstring): Element {.importcpp.} + proc createElementNS*(d: Document, namespaceURI, qualifiedIdentifier: cstring): Element {.importcpp.} proc createTextNode*(d: Document, identifier: cstring): Node {.importcpp.} proc createComment*(d: Document, data: cstring): Node {.importcpp.} |