Documentation
¶
Index ¶
- func Button(p ButtonProps, children ...htmx.Node) htmx.Node
- func Dropdown(p Props, children ...htmx.Node) htmx.Node
- func DropdownMenuItem(p MenuItemProps, children ...htmx.Node) htmx.Node
- func MenuItems(p MenuItemsProps, children ...htmx.Node) htmx.Node
- func SingleSelect(props SingleSelectProps, children ...htmx.Node) htmx.Node
- func SingleSelectOption(props SingleSelectOptionProps, children ...htmx.Node) htmx.Node
- type ButtonProps
- type MenuItemProps
- type MenuItemsProps
- type Props
- type SingleSelectOptionProps
- type SingleSelectProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Button ¶ added in v0.5.6
func Button(p ButtonProps, children ...htmx.Node) htmx.Node
Button generates a dropdown summary element based on the provided properties.
func DropdownMenuItem ¶
func DropdownMenuItem(p MenuItemProps, children ...htmx.Node) htmx.Node
MenuItem generates a dropdown items element based on the provided properties.
func MenuItems ¶ added in v0.5.6
func MenuItems(p MenuItemsProps, children ...htmx.Node) htmx.Node
MenuItems generates a dropdown menu items element based on the provided properties.
func SingleSelect ¶
func SingleSelect(props SingleSelectProps, children ...htmx.Node) htmx.Node
SingleSelect ...
func SingleSelectOption ¶
func SingleSelectOption(props SingleSelectOptionProps, children ...htmx.Node) htmx.Node
SingleSelectOption ...
Types ¶
type ButtonProps ¶ added in v0.5.6
type ButtonProps struct {
TabIndex int
htmx.ClassNames
}
ButtonProps represents the properties for a dropdown summary element.
type MenuItemProps ¶ added in v0.5.6
type MenuItemProps struct {
htmx.ClassNames // The class names for the dropdown items element.
}
MenuItem represents the properties for a dropdown items element.
type MenuItemsProps ¶ added in v0.5.6
type MenuItemsProps struct {
TabIndex int
htmx.ClassNames
}
MenuItemsProps represents the properties for a dropdown menu items element.
type Props ¶ added in v0.5.6
type Props struct {
htmx.ClassNames // The class names for the dropdown element.
}
Props represents the properties for a dropdown element.
type SingleSelectOptionProps ¶
SingleSelectOptionProps ...
type SingleSelectProps ¶
SingleSelectProps ...
Click to show internal directories.
Click to hide internal directories.