ui

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = fmt.Errorf("query did not find element")

Functions

func Alert

func Alert(message string) app.EventHandler

func ConsoleLog added in v0.0.7

func ConsoleLog(args ...interface{})

func QuerySelector added in v0.0.5

func QuerySelector(query string) (app.Value, error)

func S

func S(elem app.UI) []app.UI

func ToAppUI

func ToAppUI(elem ...UI) (appUI []app.UI)

func Wrap added in v0.0.5

func Wrap(ui app.UI) app.UI

Types

type UI

type UI interface {
	UI() app.UI
}

func W added in v0.0.7

func W(elem app.UI) UI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL