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
- func SingleSelect(props SingleSelectProps, children ...htmx.Node) htmx.Node
- func SingleSelectOption(props SingleSelectOptionProps, children ...htmx.Node) htmx.Node
- type DropdownButtonProps
- type DropdownMenuItemProps
- type DropdownMenuItemsProps
- type DropdownProps
- type SingleSelectOptionProps
- type SingleSelectProps
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.
func SingleSelect ¶ added in v1.3.21
func SingleSelect(props SingleSelectProps, children ...htmx.Node) htmx.Node
SingleSelect ...
func SingleSelectOption ¶ added in v1.3.21
func SingleSelectOption(props SingleSelectOptionProps, children ...htmx.Node) htmx.Node
SingleSelectOption ...
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. TabIndex int }
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.
type SingleSelectOptionProps ¶ added in v1.3.21
SingleSelectOptionProps ...
type SingleSelectProps ¶ added in v1.3.21
SingleSelectProps ...