breadcrumbs

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Breadcrumb(p BreadcrumbProps, children ...htmx.Node) htmx.Node

BreadCrumb generates a breadcrumb item element based on the provided properties.

func Breadcrumbs(p BreadcrumbsProps, children ...htmx.Node) htmx.Node

BreadCrumbs generates a breadcrumb element based on the provided properties.

Types

type BreadcrumbProps struct {
	ClassNames htmx.ClassNames // The class names for the breadcrumb item element.
	Href       string          // The URL of the linked document.
	Rel        string          // The relationship between the current document and the linked document.
	Title      string          // The title of the linked document.
}

BreadcrumbProps represents the properties for a breadcrumb item element.

type BreadcrumbsProps struct {
	ClassNames htmx.ClassNames // The class names for the breadcrumb element.
}

BreadcrumsbProps represents the properties for a breadcrumb element.

Jump to

Keyboard shortcuts

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