Versions in this module Expand all Collapse all v0 v0.0.2 Jun 3, 2022 Changes in this version + type Attributes map[string]string + type Base struct + Attr Attributes + Tag string + func NewBase(tag string, attr Attributes, children ...Component) *Base + func (b *Base) AddChild(child Component) Component + func (b *Base) Build() Component + func (b *Base) GetElement() js.Value + func (b *Base) GetFather() js.Value + func (b *Base) SetFather(father Component) Component + type Button struct + type Component interface + AddChild func(Component) Component + Build func() Component + GetElement func() js.Value + GetFather func() js.Value + SetFather func(Component) Component + func GetIndex() Component + func NewButton(attr Attributes, children ...Component) Component + func NewDiv(attr Attributes, children ...Component) Component + type Div struct + type Node struct + Children []Node + Element Component + Father Component + func (n Node) Build() error