>From a quick look at the karax source I can't see a way to get this.
Here's a quick workaround:
include karax / prelude
type
File = object
lastModified: cint
name: cstring
size: cint
`type`: cstring
proc createDom(): VNode =
result = buildHtml(tdiv):
h1:
text "hello world"
input(`type`="file"):
text "click here"
proc onchange(ev: Event, n: VNode) =
var files: seq[File]
asm """`files` = `ev`.target.files"""
echo "files: ", files
setRenderer createDom
Run
