Versions in this module Expand all Collapse all v0 v0.0.2 May 2, 2023 Changes in this version + var Window = struct{ ... } + func A(name string) func(...ApplyToElement) func(...Appendable) Element + func CreateEffect(function func()) + func CreateSignal(defaultValue T) (func() T, func(T)) + type Appendable interface + AppendTo func(Element) + type ApplyToElement interface + Apply func(Element) + type Attribute struct + Effect func() string + Name string + func At(name string, effect func() string) Attribute + func (attribute Attribute) Apply(element Element) + type Document struct + Body Element + Js js.Value + func (document Document) CreateElement(name string) Element + func (document Document) CreateTextNode(content string) Element + type Element js.Value + func For(collection func() []interface{}, renderer func(index int) Element) Element + func ForG(collection func() []T, renderer func(item T) Element) Element + func T(effect func() string) Element + func (element Element) AddEventListener(name string, function func()) + func (element Element) AppendChild(value Element) + func (element Element) AppendTo(parent Element) + func (element Element) SetAttribute(name, value string) + func (element Element) SetInnerText(value string) + type EventCallBack struct + Callback func() + Name string + func On(event string, callback func()) EventCallBack + func (event EventCallBack) Apply(element Element) + type ForStruct struct + Collection func() []T + Render func(T) Element + func (forR ForStruct[T]) AppendTo(parent Element) + type Signal struct + func (signal *Signal[T]) Get() T + func (signal *Signal[T]) Set(value T)