go-js-dom
go-js-dom copied to clipboard
Hello, I'm trying to get this project for the first time. I used `go mod` for my project. It's success to get the package mentioned using `go get honnef.co/go/js/dom/v2` and...
The [`Element.closest()`](https://developer.mozilla.org/pt-BR/docs/Web/API/Element/closest) is already supported by [many browsers](https://caniuse.com/#search=closest) for a long time, why don't support it?
Consider adding a Bytes []byte method to File (or documenting an example of how it can be achieved).
Currently, we have: https://github.com/dominikh/go-js-dom/blob/662b7b8f3412aba33480fc334a39340f90aafdb2/dom.go#L2460-L2465 It might be helpful and worth considering changing it to have a `Bytes() []byte` method: ```Go // File represents files as can be obtained from file...
This is an API design issue. The `fillStyle` property of `CanvasRenderingContext2D` interface can be assigned any of 3 different types, according to https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle:  However, [`CanvasRenderingContext2D.FillStyle`](https://godoc.org/honnef.co/go/js/dom#CanvasRenderingContext2D.FillStyle) field is defined as...
Navigator.Online() is not implemented, which would be very nice to have for my PWA. Thanks!
How would the equivalent of document.execCommand() be achieved in this library?
We will want to document all of the public methods and types. For the majority, we should be able to copy existing documentation (for example from the MDN), as long...
When trying to run "go get honnef.co/go/js/dom" the process crashes with a "signal: killed" message. Here is the output of "free -m" to show the memory available prior to install...
Add a type `Error`, which acts as a combination of DOMException and DOMError. It should be returned from methods such as (*HTMLInputElement).StepDown, which are documented to throw exceptions in case...