Web API package for use when compling Go to WASM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

13 lines
194 B

package document
import (
"syscall/js"
dom "github.com/brettlangdon/go-dom/v1"
)
var value dom.Document
func init() {
value = dom.Value{Value: js.Global().Get("document")}.AsDocument()
}