Versions in this module Expand all Collapse all v1 v1.3.6 Feb 23, 2020 Changes in this version + var DefaultPath string + var LocalStorage BrowserStorage + var NotFoundPath = "/app.notfound" + var SessionStorage BrowserStorage + func Emit(msg string, args ...interface{}) + func Import(c ...Compo) + func LocationURL() *url.URL + func Navigate(rawurl string) + func NewContextMenu(items ...MenuItem) — js/wasm + func Reload() + func Render(c Compo) + func Run() + func UI(f func()) + func WindowSize() (w, h int) + type BindContext interface + Cancel func(error) + Get func(k string) interface{} + Lookup func(k string) (interface{}, bool) + Set func(k string, v interface{}) + type Binding struct + func Bind(msg string, c Compo) *Binding + func (b *Binding) Defer(d time.Duration) *Binding + func (b *Binding) Do(f interface{}) *Binding + func (b *Binding) DoAsync(f interface{}) *Binding + func (b *Binding) Wait(d time.Duration) *Binding + func (b *Binding) WhenCancel(f func(BindContext)) + type BrowserStorage interface + Clear func() + Del func(k string) + Get func(k string, v interface{}) error + Set func(k string, i interface{}) error + type Compo interface + Render func() string + type CompoHandler func(src, event js.Value) — js/wasm + type CompoWithExtendedRender interface + Funcs func() map[string]interface{} + type Dismounter interface + OnDismount func() + type Handler struct — darwin/amd64, linux/amd64, windows/amd64 + Author string + Description string + Headers []string + Keywords []string + LoadingLabel string + Name string + ProgressiveApp ProgressiveAppConfig + WebDir string + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type MenuItem struct — js/wasm + Disabled bool + Icon string + Keys string + Label string + OnClick func(s, e js.Value) + Separator bool + type Mounter interface + OnMount func() + type ProgressiveAppConfig struct — darwin/amd64, linux/amd64, windows/amd64 + LanscapeMode bool + Scope string + ShortName string + StartURL string + ThemeColor string + type ZeroCompo struct Incompatible versions in this module v5.3.1+incompatible Oct 28, 2019 v5.3.0+incompatible Oct 28, 2019