Documentation ¶
Index ¶
- func Dropdown(p DropdownProps, children ...htmx.Node) htmx.Node
- func DropdownButton(p DropdownButtonProps, children ...htmx.Node) htmx.Node
- func DropdownMenuItem(p DropdownMenuItemProps, children ...htmx.Node) htmx.Node
- func DropdownMenuItems(p DropdownMenuItemsProps, children ...htmx.Node) htmx.Node
- type DropdownButtonProps
- type DropdownMenuItemProps
- type DropdownMenuItemsProps
- type DropdownProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dropdown ¶
func Dropdown(p DropdownProps, children ...htmx.Node) htmx.Node
Dropdown generates a dropdown element based on the provided properties.
func DropdownButton ¶
func DropdownButton(p DropdownButtonProps, children ...htmx.Node) htmx.Node
DropdownButton generates a dropdown summary element based on the provided properties.
func DropdownMenuItem ¶
func DropdownMenuItem(p DropdownMenuItemProps, children ...htmx.Node) htmx.Node
DropdownMenuItem generates a dropdown items element based on the provided properties.
func DropdownMenuItems ¶
func DropdownMenuItems(p DropdownMenuItemsProps, children ...htmx.Node) htmx.Node
DropdownMenuItems generates a dropdown menu items element based on the provided properties.
Types ¶
type DropdownButtonProps ¶
type DropdownButtonProps struct { ClassNames htmx.ClassNames // The class names for the dropdown summary element. TabIndex int }
DropdownButtonProps represents the properties for a dropdown summary element.
type DropdownMenuItemProps ¶
type DropdownMenuItemProps struct {
ClassNames htmx.ClassNames // The class names for the dropdown items element.
}
DropdownMenuItem represents the properties for a dropdown items element.
type DropdownMenuItemsProps ¶
type DropdownMenuItemsProps struct {
ClassNames htmx.ClassNames // The class names for the dropdown menu items element.
}
DropdownMenuItemsProps represents the properties for a dropdown menu items element.
type DropdownProps ¶
type DropdownProps struct {
ClassNames htmx.ClassNames // The class names for the dropdown element.
}
DropdownProps represents the properties for a dropdown element.
Click to show internal directories.
Click to hide internal directories.