toasts

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Toast

func Toast(p ToastProps, children ...htmx.Node) htmx.Node

Toast is a component for the htmx toast extension.

func ToastAlertError

func ToastAlertError(children ...htmx.Node) htmx.Node

ToastAlertError is a component for the htmx toast extension.

func ToastAlertInfo

func ToastAlertInfo(children ...htmx.Node) htmx.Node

ToastAlertInfo is a component for the htmx toast extension.

func ToastAlertSuccess

func ToastAlertSuccess(children ...htmx.Node) htmx.Node

ToastAlertSuccess is a component for the htmx toast extension.

func ToastEnd

func ToastEnd(p ToastProps, children ...htmx.Node) htmx.Node

ToastEnd is a component for the htmx toast extension.

func ToastTopEnd

func ToastTopEnd(p ToastProps, children ...htmx.Node) htmx.Node

ToastTopToastEnd is a component for the htmx toast extension.

func ToastTopStart

func ToastTopStart(p ToastProps, children ...htmx.Node) htmx.Node

ToastTopToastStart is a component for the htmx toast extension.

Types

type ToastProps

type ToastProps struct {
	ClassNames htmx.ClassNames
}

ToastProps contains the properties for the toast component.

Jump to

Keyboard shortcuts

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