Update kdom_impl.nim (#94)
* Update kdom_impl.nim Support full old syntax (maybe support modern syntax too? object options) https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView * Update kdom_impl.nim use MDN naming * Update kdom_impl.nim
This commit is contained in:
parent
33af725e7d
commit
c091af1622
1 changed files with 1 additions and 1 deletions
|
|
@ -1076,7 +1076,7 @@ proc insertData*(n: Node, position: int, data: cstring)
|
||||||
proc removeAttribute*(n: Node, attr: cstring)
|
proc removeAttribute*(n: Node, attr: cstring)
|
||||||
proc removeAttributeNode*(n, attr: Node)
|
proc removeAttributeNode*(n, attr: Node)
|
||||||
proc replaceData*(n: Node, start, len: int, text: cstring)
|
proc replaceData*(n: Node, start, len: int, text: cstring)
|
||||||
proc scrollIntoView*(n: Node)
|
proc scrollIntoView*(n: Node, alignToTop = true)
|
||||||
proc setAttribute*(n: Node, name, value: cstring)
|
proc setAttribute*(n: Node, name, value: cstring)
|
||||||
proc setAttributeNode*(n: Node, attr: Node)
|
proc setAttributeNode*(n: Node, attr: Node)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue