Versions in this module Expand all Collapse all v0 v0.0.2 Nov 27, 2023 Changes in this version + type ClassList js.Value + func (c ClassList) Add(s string) + func (c ClassList) Contains(s string) bool + func (c ClassList) Remove(s string) + func (c ClassList) String() string v0.0.1 Nov 24, 2023 Changes in this version + func Dbg(v js.Value) string + func GetClassList(obj js.Value) (js.Value, int) + type DocHolder struct + func GetDoc() (*DocHolder, error) + func (g *DocHolder) CreateElement(typ string) js.Value + func (g *DocHolder) GetElementByID(id string) (js.Value, error) + type EventListener struct + func NewEventListener(evt string, fn func(js.Value, js.Value) any) *EventListener + func (e *EventListener) Add(elt js.Value) + func (e *EventListener) Remove(elt js.Value)