collapsible

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arrow added in v0.5.4

func Arrow(p Props, children ...htmx.Node) htmx.Node

Arrow is a component that can be expanded and collapsed.

func Checkbox added in v0.5.4

func Checkbox(props CheckboxProps, children ...htmx.Node) htmx.Node

Checkbox is a component that can be expanded and collapsed.

func Collapse

func Collapse(props Props, children ...htmx.Node) htmx.Node

Collapse is a component that can be expanded and collapsed.

func Content added in v0.5.4

func Content(props ContentProps, children ...htmx.Node) htmx.Node

Content is a component that can be expanded and collapsed.

func Title added in v0.5.4

func Title(p TitleProps, children ...htmx.Node) htmx.Node

Title is a component that can be expanded and collapsed.

Types

type CheckboxProps added in v0.5.4

type CheckboxProps struct {
	Checked bool

	htmx.ClassNames
}

CheckboxProps is a component that can be expanded and collapsed.

type ContentProps added in v0.5.4

type ContentProps struct {
	htmx.ClassNames
}

ContentProps is a component that can be expanded and collapsed.

type Props added in v0.5.4

type Props struct {
	// TabIndex sets the tabindex attribute.
	TabIndex int

	htmx.ClassNames
}

Props is a component that can be expanded and collapsed.

type TitleProps added in v0.5.4

type TitleProps struct {
	htmx.ClassNames
}

TitleProps is a component that can be expanded and collapsed.

Jump to

Keyboard shortcuts

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