Documentation ¶
Index ¶
- func Menu(p MenuProps, children ...htmx.Node) htmx.Node
- func MenuCollapsible(p MenuCollapsibleProps, children ...htmx.Node) htmx.Node
- func MenuCollapsibleSummary(p MenuCollapsibleSummaryProps, children ...htmx.Node) htmx.Node
- func MenuItem(p MenuItemProps, children ...htmx.Node) htmx.Node
- func MenuLink(p MenuLinkProps, children ...htmx.Node) htmx.Node
- func MenuTitle(p MenuTitleProps, children ...htmx.Node) htmx.Node
- type MenuCollapsibleProps
- type MenuCollapsibleSummaryProps
- type MenuItemProps
- type MenuLinkProps
- type MenuProps
- type MenuTitleProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MenuCollapsible ¶ added in v1.0.39
func MenuCollapsible(p MenuCollapsibleProps, children ...htmx.Node) htmx.Node
MenuCollapsible is the component for the menu collapse
func MenuCollapsibleSummary ¶ added in v1.0.39
func MenuCollapsibleSummary(p MenuCollapsibleSummaryProps, children ...htmx.Node) htmx.Node
MenuCollapsibleSummary is the component for the menu collapse summary
func MenuItem ¶
func MenuItem(p MenuItemProps, children ...htmx.Node) htmx.Node
MenuItem is the component for the menu item
Types ¶
type MenuCollapsibleProps ¶ added in v1.0.39
type MenuCollapsibleProps struct { ClassNames htmx.ClassNames Open bool }
MenuCollapsibleProps is the struct for the menu collapse props
type MenuCollapsibleSummaryProps ¶ added in v1.0.39
type MenuCollapsibleSummaryProps struct {
ClassNames htmx.ClassNames
}
MenuCollapsibleSummaryProps is the struct for the menu collapse summary props
type MenuItemProps ¶
type MenuItemProps struct {
ClassNames htmx.ClassNames
}
MenuItemProps is the struct for the menu item props
type MenuLinkProps ¶ added in v1.0.39
type MenuLinkProps struct { ClassNames htmx.ClassNames Href string Active bool }
MenuLinkProps is the struct for the menu link props
type MenuProps ¶
type MenuProps struct {
ClassNames htmx.ClassNames
}
MenuProps is the struct for the menu props
type MenuTitleProps ¶ added in v1.0.39
type MenuTitleProps struct {
ClassNames htmx.ClassNames
}
MenuTitleProps is the struct for the menu title props
Click to show internal directories.
Click to hide internal directories.