There was an error while loading. Please reload this page.
1 parent a716543 commit 32f0910Copy full SHA for 32f0910
lib/js/dom.nim
@@ -1270,6 +1270,7 @@ proc inViewport*(el: Node): bool =
1270
rect.right <= clientWidth().float
1271
1272
proc scrollTop*(e: Node): int {.importcpp: "#.scrollTop", nodecl.}
1273
+proc `scrollTop=`*(e: Node, value: int) {.importcpp: "#.scrollTop = #", nodecl.}
1274
proc scrollLeft*(e: Node): int {.importcpp: "#.scrollLeft", nodecl.}
1275
proc scrollHeight*(e: Node): int {.importcpp: "#.scrollHeight", nodecl.}
1276
proc scrollWidth*(e: Node): int {.importcpp: "#.scrollWidth", nodecl.}
0 commit comments