DOM.nim: fix regression, missing procs
This commit is contained in:
parent
e33544ad13
commit
b5991f52b9
1 changed files with 2 additions and 0 deletions
|
|
@ -1035,6 +1035,7 @@ proc clearTimeout*(t: Timeout) {.importc, nodecl.}
|
|||
# EventTarget "methods"
|
||||
proc addEventListener*(et: EventTarget, ev: cstring, cb: proc(ev: Event), useCapture: bool = false)
|
||||
proc addEventListener*(et: EventTarget, ev: cstring, cb: proc(ev: Event), options: AddEventListenerOptions)
|
||||
proc dispatchEvent*(et: EventTarget, ev: Event)
|
||||
proc removeEventListener*(et: EventTarget; ev: cstring; cb: proc(ev: Event))
|
||||
|
||||
# Window "methods"
|
||||
|
|
@ -1134,6 +1135,7 @@ proc replace*(loc: Location, s: cstring)
|
|||
proc back*(h: History)
|
||||
proc forward*(h: History)
|
||||
proc go*(h: History, pagesToJump: int)
|
||||
proc pushState*[T](h: History, stateObject: T, title, url: cstring)
|
||||
|
||||
# Navigator "methods"
|
||||
proc javaEnabled*(h: Navigator): bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue