added .component macro to karax
This commit is contained in:
parent
1c242332da
commit
a799413f7f
6 changed files with 169 additions and 186 deletions
|
|
@ -520,6 +520,8 @@ proc item*(list: TouchList, i: int): Touch
|
|||
|
||||
{.pop.}
|
||||
|
||||
proc setAttr*(n: Node; key, val: cstring) {.importcpp: "#.setAttribute(@)".}
|
||||
|
||||
var
|
||||
window* {.importc, nodecl.}: Window
|
||||
document* {.importc, nodecl.}: Document
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue