alertgroup

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DemoAddAlert added in v0.0.3

func DemoAddAlert() app.UI

Types

type AlertGroup added in v0.0.3

type AlertGroup struct {
	ID            string
	Children      []*alert.Alert
	ClassName     []string
	LiveRegion    bool
	Toast         bool
	OverflowClick app.EventHandler
}

func Demo added in v0.0.3

func Demo() *AlertGroup

func (*AlertGroup) Add added in v0.0.3

func (a *AlertGroup) Add(ctx app.Context, alert *alert.Alert)

func (*AlertGroup) UI added in v0.0.3

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

type StaticAlertGroup

type StaticAlertGroup struct {
	app.Compo
}

func (*StaticAlertGroup) Render

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

type ToastAlertGroup

type ToastAlertGroup struct {
	app.Compo
}

func (*ToastAlertGroup) Render

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

Jump to

Keyboard shortcuts

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