go_dom

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 1 Imported by: 0

README

Go DOM

Provides a high level API over the syscall/js package

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() (Window, Document)

Run

Types

type Document

type Document struct {
	js.Value
}

Document

func (*Document) GetElementById

func (d *Document) GetElementById(id string) js.Value

GetElementByID

type Dom

type Dom struct {
	Document Document
	Window   js.Value
}

Dom

type Window

type Window struct {
	js.Value
}

Window

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL