modals

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Jump to

Keyboard shortcuts

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