Versions in this module Expand all Collapse all v0 v0.1.0 Dec 13, 2021 Changes in this version + func AddEventHandler(w Widget, event string, handler func(ev Event)) + func MountAssets(assets embed.FS) + func SetHeadElements(s string) + func SetTargetEvents(events []TargetEvent) + type App struct + func NewApp(name string, width, height int, view Widget) *App + func (app *App) PostUpdate(w Widget) + func (app *App) Run() + type Event interface + EventName func() string + ID func() string + Props func() map[string]interface{} + Target func() Widget + type TargetEvent struct + Name string + PropName string + type WebView2 struct — darwin/amd64, js/wasm, linux/amd64 + type Widget interface + Attach func(app *App) + ID func() WidgetID + View func() string + type WidgetID int + func NewWidgetID() WidgetID + func (id WidgetID) String() string