Ok. That should be a matter of making the right bindings.
Here is an attempt that adds a binding to the existing webapi bindings, combining it with the File.t
module I defined in my previous post:
@get external files: t_htmlInputElement => array<File.t> = "files"
I’m not sure how you would be able to access t_htmlInputElement
though. @spyder may be able to help you out there.
%raw
is not a bad stop gap solution if you’re pressed for time.