Versions in this module Expand all Collapse all v1 v1.0.4 Mar 12, 2024 Changes in this version + func AddEventListener(inputEvent string, inputFunc func(Value, []Value)) + type Body struct + Style StyleBody + func (b *Body) AppendCanvasChild(inputCanvas *Canvas) + func (b *Body) AppendChild(inputElement *Element) + type Canvas struct + JSCanvas Value + func CreateCanvasElement() *Canvas + func GetElementById(inputID string) *Canvas + type Context struct + JSContext Value + type Document struct + Body *Body + DocumentElement *DocumentElement + type DocumentElement struct + Style StyleDocument + func (d *DocumentElement) ClientHeight() int + func (d *DocumentElement) ClientWidth() int + type Element struct + JSElement js.Value + Style js.Value + func CreateElement(newElement string) *Element + func (e *Element) AddEventListener(inputEvent string, inputFunc func(Value, []Value)) + func (e *Element) Set(keyValue string, inputValue any) + type StyleBody struct + func (b *StyleBody) Set(inputKey string, inputValue any) + type StyleDocument struct + func (d *StyleDocument) Set(inputKey string, inputValue any) + type Value js.Value