aboutmodal

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

func DemoList added in v0.0.3

func DemoList() app.UI

Types

type AboutModal added in v0.0.3

type AboutModal struct {
	ID                   string
	BrandImage           *BrandImage
	Children             []app.UI
	Hero                 *Hero
	CloseButtonAriaLabel string
	ProductName          string
	Trademark            *Trademark
	Open                 bool
}

AboutModal renders an about modal dialog wrapped with backdrop and bullseye.

func Demo added in v0.0.3

func Demo() *AboutModal

func (*AboutModal) UI added in v0.0.3

func (a *AboutModal) UI() app.UI

func (*AboutModal) UpdateState added in v0.0.7

func (a *AboutModal) UpdateState(ctx app.Context)

type Basic

type Basic struct {
	app.Compo
}

func (*Basic) Render

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

type BrandImage added in v0.0.3

type BrandImage struct {
	Src string
	Alt string
}

func (*BrandImage) UI added in v0.0.3

func (b *BrandImage) UI() app.UI

type Hero added in v0.0.3

type Hero struct {
	BackgroundImageUrl string
}

func (*Hero) UI added in v0.0.3

func (h *Hero) UI() app.UI

type Trademark added in v0.0.3

type Trademark struct {
	Children []app.UI
}

func (*Trademark) UI added in v0.0.3

func (t *Trademark) UI() app.UI

Jump to

Keyboard shortcuts

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