viewmodel

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToastEntranceClass

func GetToastEntranceClass(position string) string

Types

type ToastViewModel

type ToastViewModel struct {
	Message string
	Level   string
	Icon    string
}

type ToasterViewModel

type ToasterViewModel struct {
	Variant     string
	Border      bool
	Rounded     bool
	ShowIcon    bool
	Button      bool
	AutoDismiss bool
	Animation   bool
	ProgressBar bool
	Position    string
	Toasts      []ToastViewModel
}

Jump to

Keyboard shortcuts

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