pops

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Popup[T any] struct {
	// contains filtered or unexported fields
}

func (Popup[T]) BindControls

func (p Popup[T]) BindControls(
	id T,
	hidden func(show func(ctx context.Context)) gox.Elem,
	shown func(hide func(ctx context.Context)) gox.Elem,
) gox.Elem

func (Popup[T]) BindPop

func (p Popup[T]) BindPop(id T, el func(hide func(context.Context)) gox.Elem) gox.Elem

func (Popup[T]) Hide

func (p Popup[T]) Hide(ctx context.Context, id T)

func (Popup[T]) Show

func (p Popup[T]) Show(ctx context.Context, id T)

type Popups

type Popups struct {
	// contains filtered or unexported fields
}

func NewPopups

func NewPopups() Popups

func (Popups) Popup

func (p Popups) Popup[T comparable]() Popup[T]

func (Popups) Script

func (p Popups) Script() gox.Elem

Jump to

Keyboard shortcuts

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