Documentation
¶
Index ¶
- func Collapsible(p CollapsibleProps, children ...htmx.Node) htmx.Node
- func CollapsibleSummary(p CollapsibleSummaryProps, children ...htmx.Node) htmx.Node
- func Item(p ItemProps, children ...htmx.Node) htmx.Node
- func Link(p LinkProps, children ...htmx.Node) htmx.Node
- func Menu(p Props, children ...htmx.Node) htmx.Node
- func MenuHorizontal(p Props, children ...htmx.Node) htmx.Node
- func MenuVertical(p Props, children ...htmx.Node) htmx.Node
- func Title(p TitleProps, children ...htmx.Node) htmx.Node
- type CollapsibleProps
- type CollapsibleSummaryProps
- type ItemProps
- type LinkProps
- type Props
- type TitleProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Collapsible ¶
func Collapsible(p CollapsibleProps, children ...htmx.Node) htmx.Node
Collapsible is the component for the menu collapse.
func CollapsibleSummary ¶
func CollapsibleSummary(p CollapsibleSummaryProps, children ...htmx.Node) htmx.Node
CollapsibleSummary is the component for the menu collapse summary.
func MenuHorizontal ¶
MenuHorizontal is the component for the horizontal menu.
func MenuVertical ¶
MenuVertical is the component for the vertical menu.
Types ¶
type CollapsibleProps ¶
type CollapsibleProps struct {
Open bool
htmx.ClassNames
}
CollapsibleProps is the struct for the menu collapse props.
type CollapsibleSummaryProps ¶
type CollapsibleSummaryProps struct {
htmx.ClassNames
}
CollapsibleSummaryProps is the struct for the menu collapse summary props.
type ItemProps ¶
type ItemProps struct {
htmx.ClassNames
}
ItemProps is the struct for the menu item props.
type LinkProps ¶
type LinkProps struct {
Href string
Active bool
htmx.ClassNames
}
LinkProps is the struct for the menu link props.
type TitleProps ¶
type TitleProps struct {
htmx.ClassNames
}
TitleProps is the struct for the menu title props.
Click to show internal directories.
Click to hide internal directories.