Versions in this module Expand all Collapse all v0 v0.1.0 Jul 8, 2020 Changes in this version + func AddMeta(name, content string) + func AddStylesheet(url string) + func Callback0(fn func() interface{}) js.Func + func Callback1(fn func(res js.Value) interface{}) js.Func + func CallbackN(fn func(res []js.Value) interface{}) js.Func + func GetURL() *url.URL + func LoadModule(names []string, url string) <-chan js.Value + func LoadScript(url string) + func Navigate(s string) + func RenderBody(c Component) + func RequestAnimationFrame(callback func(float64)) int + func Rerender(c Component) + func SetTitle(title string) + type Applyer interface + type Class map[string]bool + type Component interface + func NotFoundPage() Component + type Core struct + type HTML interface + func Render(c Component) HTML + type Markup interface + func Attr(key string, value interface{}) Markup + func Event(name string, fn func(ev js.Value) interface{}) Markup + func If(cond bool, m Markup) Markup + func Text(s string) Markup + type Mounter interface + Mount func() + type Node struct + func Tag(name string, markups ...Markup) *Node + func TagWithNS(name, ns string, markups ...Markup) *Node + func (n *Node) JSValue() js.Value + func (n *Node) Render() HTML + func (n *Node) String() string + type Renderer interface + Render func() HTML + type Router struct + func NewRouter() *Router + func (r *Router) Current() *url.URL + func (r *Router) Handle(key string, fn func(key string)) + func (r *Router) Navigate(s string) error + func (r *Router) Start() error + type Unmounter interface + Unmount func()