docgen: search feature
This commit is contained in:
parent
37c3c0033d
commit
7621bb05c9
3 changed files with 73 additions and 0 deletions
|
|
@ -17,6 +17,11 @@ proc `value=`*(e: Element; v: cstring) {.importcpp: "#.value = #", nodecl.}
|
|||
|
||||
proc getElementsByClass*(e: Element; name: cstring): seq[Element] {.importcpp: "#.getElementsByClassName(#)", nodecl.}
|
||||
|
||||
proc toLower*(x: cstring): cstring {.
|
||||
importcpp: "#.toLowerCase()", nodecl.}
|
||||
proc replace*(x: cstring; search, by: cstring): cstring {.
|
||||
importcpp: "#.replace(#, #)", nodecl.}
|
||||
|
||||
type
|
||||
EventHandler* = proc(ev: Event)
|
||||
EventHandlerId* = proc(ev: Event; id: int)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue