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 ¶ added in v0.5.4
func Checkbox(props CheckboxProps, children ...htmx.Node) htmx.Node
Checkbox 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.
Click to show internal directories.
Click to hide internal directories.