bs-webapi-incubator icon indicating copy to clipboard operation
bs-webapi-incubator copied to clipboard

BuckleScript bindings to the DOM and other Web APIs

Results 17 bs-webapi-incubator issues
Sort by recently updated
recently updated
newest added

This PR adds bindings for the `` element as Webapi.Dom.HtmlTemplateElement. Fixes #198

The `` element is rather simple and has just a single property called `content` which returns a DocumentFragment. See here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template

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...

enhancement
help wanted

Something like `Js.Json.classify` and `Js.Types.classify` but for `Dom.node`s It would be based on similar tags as https://github.com/reasonml-community/bs-webapi-incubator/blob/master/src/Webapi/Webapi__Dom/Webapi__Dom__Types.re#L177-L190 But parameterized, ie: ```ocaml type t = | Element of Dom.element | Text...

enhancement
help wanted

It seems to me the current [Dom.Image](https://github.com/reasonml-community/bs-webapi-incubator/blob/master/src/Webapi/Webapi__Dom/Webapi__Dom__Image.re) follows the spec of [ImageData](https://developer.mozilla.org/en-US/docs/Web/API/ImageData) object At the same time the actual [Image](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image) object seems to be missing. If I'm right, that existing...

enhancement
help wanted

Hey all, minor change, self described( i think) https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType https://developer.mozilla.org/en-US/docs/Web/API/Document/dir

blocked