Documentation ¶
Index ¶
- func Toast(p ToastProps, children ...htmx.Node) htmx.Node
- func ToastAlertError(children ...htmx.Node) htmx.Node
- func ToastAlertInfo(children ...htmx.Node) htmx.Node
- func ToastAlertSuccess(children ...htmx.Node) htmx.Node
- func ToastEnd(p ToastProps, children ...htmx.Node) htmx.Node
- func ToastTopEnd(p ToastProps, children ...htmx.Node) htmx.Node
- func ToastTopStart(p ToastProps, children ...htmx.Node) htmx.Node
- type ToastProps
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 ¶
ToastAlertError is a component for the htmx toast extension.
func ToastAlertInfo ¶
ToastAlertInfo is a component for the htmx toast extension.
func ToastAlertSuccess ¶
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.
Click to show internal directories.
Click to hide internal directories.