Documentation ¶
Rendered for js/wasm
Index ¶
- func CreateApp()
- func InitApp()
- func StartApp()
- type Element
- func (e *Element) AddChild(element *Element) *Element
- func (e *Element) AppendClass(class string) *Element
- func (e *Element) Nest(el ...*Element) *Element
- func (e *Element) RemoveChild() *Element
- func (e *Element) RemoveSingleChild(element *Element) *Element
- func (e *Element) Set(key string, value string) *Element
- func (e *Element) SetCallBack(cbType string, cb js.Callback) *Element
- func (e *Element) SetClass(class string) *Element
- func (e *Element) SetId(id string) *Element
- func (e *Element) SetInnerHtml(innerhtml string) *Element
- func (e *Element) SetStyle(key string, value string) *Element
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
var App *Element
func NewElement ¶
func (*Element) AppendClass ¶
func (*Element) RemoveChild ¶
func (*Element) RemoveSingleChild ¶
func (*Element) SetInnerHtml ¶
Click to show internal directories.
Click to hide internal directories.