mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-07 04:14:19 +00:00
Add hasAttribute method to dom.nim. (#14814)
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute
This commit is contained in:
@@ -1190,6 +1190,7 @@ proc deleteData*(n: Node, start, len: int)
|
||||
proc focus*(e: Node)
|
||||
proc getAttribute*(n: Node, attr: cstring): cstring
|
||||
proc getAttributeNode*(n: Node, attr: cstring): Node
|
||||
proc hasAttribute*(n: Node; attr: cstring): bool
|
||||
proc hasChildNodes*(n: Node): bool
|
||||
proc insertData*(n: Node, position: int, data: cstring)
|
||||
proc removeAttribute*(n: Node, attr: cstring)
|
||||
|
||||
Reference in New Issue
Block a user