overlay

package
v0.1.55 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 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 Composable

type Composable = api.Composable

func Overlay

func Overlay(content Composable, options ...OverlayOption) Composable

type Composer

type Composer = api.Composer

type LayoutContext

type LayoutContext = layout.Context

type LayoutDimensions

type LayoutDimensions = layout.Dimensions

type OverlayOption

type OverlayOption func(*OverlayOptions)

func WithModifier

func WithModifier(m ui.Modifier) OverlayOption

func WithOnDismiss

func WithOnDismiss(f func()) OverlayOption

func WithScrimColor

func WithScrimColor(c graphics.Color) OverlayOption

type OverlayOptions

type OverlayOptions struct {
	Modifier   ui.Modifier
	OnDismiss  func()
	ScrimColor graphics.Color
}

func DefaultOverlayOptions

func DefaultOverlayOptions() OverlayOptions

Jump to

Keyboard shortcuts

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