Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Modal ¶
func Modal(p ModalProps, children ...htmx.Node) htmx.Node
Modal is a component for the htmx modal extension.
func ModalAction ¶
func ModalAction(p ModalActionProps, children ...htmx.Node) htmx.Node
ModalAction is a component for the htmx modal extension.
func ModalCloseButton ¶
func ModalCloseButton(p ModalCloseButtonProps, children ...htmx.Node) htmx.Node
ModalCloseButton is a component for the htmx modal extension.
Types ¶
type ModalActionProps ¶
type ModalActionProps struct {
ClassNames htmx.ClassNames
}
ModalActionProps contains the properties for the modal actions component.
type ModalCloseButtonProps ¶
type ModalCloseButtonProps struct {
ClassNames htmx.ClassNames
}
ModalCloseButtonProps contains the properties for the modal close button component.
type ModalProps ¶
type ModalProps struct { ClassNames htmx.ClassNames ID string }
ModalProps contains the properties for the modal component.
Click to show internal directories.
Click to hide internal directories.