Binding to HTLMElement dataset




Is there a way to use HTLMElement dataset ( in bucklescript? bs-webapi Webapi.Dom.HtmlElement.dataset returns a Dom.domStringMap, but it looks like it’s a dead-end, there’s no function to manipulate a Dom.domStringMap and gets its content.



DOMStringMap is listed under “Unimplemented interfaces”. So you can either contribute to bs-webapi, or start by implementing some bindings using the Dom.domStringMap in your project.


ok thanks @hoichi, do you know if the PRs get processed quickly usually? If so I might create one if I’m happy with the bindings I’d add in my own project.


Glenn is usually pretty responsive to PRs.


Ok thanks @yawaramin I’ll do that then!