Versions in this module Expand all Collapse all v0 v0.0.1 Mar 14, 2026 Changes in this version + func NewWASMDOMNode(value js.Value) runtime.DOMNode — js/wasm + type WASMBrowserState struct — js/wasm + func NewWASMBrowserState() *WASMBrowserState + func (b *WASMBrowserState) GetCurrentPath() string + func (b *WASMBrowserState) GetHash() string + func (b *WASMBrowserState) GetItem(key string) (string, bool) + func (b *WASMBrowserState) OnPopState(callback func(path string)) + func (b *WASMBrowserState) PushState(state interface{}, title, url string) + func (b *WASMBrowserState) Reload() + func (b *WASMBrowserState) RemoveItem(key string) + func (b *WASMBrowserState) ReplaceState(state interface{}, title, url string) + func (b *WASMBrowserState) SetHash(hash string) + func (b *WASMBrowserState) SetItem(key, value string) error + type WASMDOMAdapter struct — js/wasm + func NewWASMDOMAdapter() *WASMDOMAdapter + func (a *WASMDOMAdapter) AddClass(node runtime.DOMNode, className string) + func (a *WASMDOMAdapter) AppendChild(parent, child runtime.DOMNode) + func (a *WASMDOMAdapter) BatchSetAttributes(node runtime.DOMNode, attrs map[string]string) + func (a *WASMDOMAdapter) BeginBatch(parent runtime.DOMNode) + func (a *WASMDOMAdapter) CreateElement(tag string) runtime.DOMNode + func (a *WASMDOMAdapter) CreateTextNode(text string) runtime.DOMNode + func (a *WASMDOMAdapter) EndBatch() + func (a *WASMDOMAdapter) GetChildren(node runtime.DOMNode) []runtime.DOMNode + func (a *WASMDOMAdapter) GetElementById(id string) runtime.DOMNode + func (a *WASMDOMAdapter) GetElementsByClassName(className string) []runtime.DOMNode + func (a *WASMDOMAdapter) GetElementsByTagName(tagName string) []runtime.DOMNode + func (a *WASMDOMAdapter) GetFirstChild(node runtime.DOMNode) runtime.DOMNode + func (a *WASMDOMAdapter) GetInnerHTML(node runtime.DOMNode) string + func (a *WASMDOMAdapter) GetNextSibling(node runtime.DOMNode) runtime.DOMNode + func (a *WASMDOMAdapter) GetParent(node runtime.DOMNode) runtime.DOMNode + func (a *WASMDOMAdapter) GetProperty(node runtime.DOMNode, name string) interface{} + func (a *WASMDOMAdapter) GetTextContent(node runtime.DOMNode) string + func (a *WASMDOMAdapter) InsertBefore(parent, newNode, referenceNode runtime.DOMNode) + func (a *WASMDOMAdapter) QuerySelector(selector string) interface{} + func (a *WASMDOMAdapter) QuerySelectorAll(selector string) []runtime.DOMNode + func (a *WASMDOMAdapter) RemoveAttribute(node runtime.DOMNode, name string) + func (a *WASMDOMAdapter) RemoveChild(parent, child runtime.DOMNode) + func (a *WASMDOMAdapter) RemoveClass(node runtime.DOMNode, className string) + func (a *WASMDOMAdapter) ReplaceChild(parent, newNode, oldNode runtime.DOMNode) + func (a *WASMDOMAdapter) SetAttribute(node runtime.DOMNode, name, value string) + func (a *WASMDOMAdapter) SetInnerHTML(node runtime.DOMNode, html string) + func (a *WASMDOMAdapter) SetProperty(node runtime.DOMNode, name string, value interface{}) + func (a *WASMDOMAdapter) SetStyle(node runtime.DOMNode, property, value string) + func (a *WASMDOMAdapter) SetStyles(node runtime.DOMNode, styles map[string]string) + func (a *WASMDOMAdapter) SetTextContent(node runtime.DOMNode, text string) + func (a *WASMDOMAdapter) ToggleClass(node runtime.DOMNode, className string) + func (a *WASMDOMAdapter) WrapFunction(fn interface{}) interface{} + type WASMDOMNode struct — js/wasm + func (n *WASMDOMNode) Equals(other runtime.DOMNode) bool + func (n *WASMDOMNode) IsNull() bool + func (n *WASMDOMNode) Value() js.Value + type WASMEventAdapter struct — js/wasm + func NewWASMEventAdapter() *WASMEventAdapter + func (a *WASMEventAdapter) AddEventListener(node runtime.DOMNode, eventType string, handler runtime.EventHandler) + func (a *WASMEventAdapter) CreateEventHandler(fn func(runtime.Event)) runtime.EventHandler + func (a *WASMEventAdapter) ReleaseEventHandler(handler runtime.EventHandler) + func (a *WASMEventAdapter) RemoveEventListener(node runtime.DOMNode, eventType string, handler runtime.EventHandler) + type WASMScheduler struct — js/wasm + func NewWASMScheduler() *WASMScheduler + func (s *WASMScheduler) CancelIdleCallback(id interface{}) + func (s *WASMScheduler) RequestIdleCallback(callback func(runtime.Deadline)) + func (s *WASMScheduler) SetTimeout(callback func(), delay int) Other modules containing this package github.com/monstercameron/GoWebComponents/v4