Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1823

Webapi and input files

$
0
0

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.


Viewing all articles
Browse latest Browse all 1823

Trending Articles