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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	app.Compo
	// contains filtered or unexported fields
}

func (*Body) OnAppUpdate

func (b *Body) OnAppUpdate(ctx app.Context)

func (*Body) OnInit

func (b *Body) OnInit()

func (*Body) OnMount

func (b *Body) OnMount(ctx app.Context)

func (*Body) Render

func (b *Body) Render() app.UI

type NamedComponent

type NamedComponent struct {
	Name      string
	Example   string
	Component func() app.UI
}
type NavClick func(ctx app.Context)
type Navigation struct {
	app.Compo
	ComponentName     string
	ExampleName       string
	PreviousComponent bool
	PreviousExample   bool
	NextExample       bool
	NextComponent     bool
	Current           string
	Max               string
}
func (c *Navigation) Render() app.UI

type Page

type Page struct {
	app.Compo
	Body []app.UI
}

func (*Page) Render

func (c *Page) Render() app.UI

Jump to

Keyboard shortcuts

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