window

package module
v0.0.0-...-5f762ee Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 3 Imported by: 2

README

window

A Go package wrapping the DOM based on code generation in "./dom.yml".

"./dom.yml" is basded on MDN docs.

Consider forking and modifying the dom.yml to match your needs.

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsoleLog

func ConsoleLog(a ...any)

func Document

func Document() dom.Document

func NewEventSource

func NewEventSource(url string, withCredentials bool) dom.EventSource

func NewObject

func NewObject() js.Value

func NewUint8ClampedArray

func NewUint8ClampedArray(length int) js.Value

func Window

func Window() dom.Window

func WrapEventListenerFunc

func WrapEventListenerFunc[E dom.EventValue](fn func(event E)) js.Func

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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