bs-webapi-incubator
bs-webapi-incubator copied to clipboard
adding bindings to HtmlVideoElement
Hi, I want to add bindings to HtmlVideoElement(defined here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement). seems like there's a missing bindings for HtmlMediaElement(also the type is missing on Ocaml Dom). Should i take a stab at it? If so, how would i do that without the relevant ocaml type?
Yeah, that would be great. You can just use a local type t
for now, as well as submit a PR to bs-platform
to add it to Dom
. Once that's been merged and released we can link the local t
type to that, and it won't even be a breaking change (other than requiring an updated bs-platform).
I have a PR up for rescript-compiler to add the phantom type to Dom. @BlueHotDog are you working on this? If not I can
hey, i'm not working on this :) feel free to PR :)