Documentation
¶
Index ¶
- func Arrow(p Props, children ...htmx.Node) htmx.Node
- func Checkbox(props CheckboxProps, children ...htmx.Node) htmx.Node
- func Collapse(props Props, children ...htmx.Node) htmx.Node
- func Content(props ContentProps, children ...htmx.Node) htmx.Node
- func Title(p TitleProps, children ...htmx.Node) htmx.Node
- type CheckboxProps
- type ContentProps
- type Props
- type TitleProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Checkbox ¶
func Checkbox(props CheckboxProps, children ...htmx.Node) htmx.Node
Checkbox is a component that can be expanded and collapsed.
Types ¶
type CheckboxProps ¶
type CheckboxProps struct {
Checked bool
htmx.ClassNames
}
CheckboxProps is a component that can be expanded and collapsed.
type ContentProps ¶
type ContentProps struct {
htmx.ClassNames
}
ContentProps is a component that can be expanded and collapsed.
type Props ¶
type Props struct {
// TabIndex sets the tabindex attribute.
TabIndex int
htmx.ClassNames
}
Props is a component that can be expanded and collapsed.
type TitleProps ¶
type TitleProps struct {
htmx.ClassNames
}
TitleProps is a component that can be expanded and collapsed.