menus

package
v1.1.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Menu(p MenuProps, children ...htmx.Node) htmx.Node

Menu is the component for the menu

func MenuCollapsible(p MenuCollapsibleProps, children ...htmx.Node) htmx.Node

MenuCollapsible is the component for the menu collapse

func MenuCollapsibleSummary(p MenuCollapsibleSummaryProps, children ...htmx.Node) htmx.Node

MenuCollapsibleSummary is the component for the menu collapse summary

func MenuItem(p MenuItemProps, children ...htmx.Node) htmx.Node

MenuItem is the component for the menu item

func MenuLink(p MenuLinkProps, children ...htmx.Node) htmx.Node

MenuLink is the component for the menu link

func MenuTitle(p MenuTitleProps, children ...htmx.Node) htmx.Node

MenuTitle is the component for the menu title

Types

type MenuCollapsibleProps struct {
	ClassNames htmx.ClassNames
	Open       bool
}

MenuCollapsibleProps is the struct for the menu collapse props

type MenuCollapsibleSummaryProps struct {
	ClassNames htmx.ClassNames
}

MenuCollapsibleSummaryProps is the struct for the menu collapse summary props

type MenuItemProps struct {
	ClassNames htmx.ClassNames
}

MenuItemProps is the struct for the menu item props

type MenuLinkProps struct {
	ClassNames htmx.ClassNames
	Href       string
	Active     bool
}

MenuLinkProps is the struct for the menu link props

type MenuProps struct {
	ClassNames htmx.ClassNames
}

MenuProps is the struct for the menu props

type MenuTitleProps struct {
	ClassNames htmx.ClassNames
}

MenuTitleProps is the struct for the menu title props

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL