Documentation
¶
Index ¶
- func Actions(p ActionsProps, children ...htmx.Node) htmx.Node
- func Body(p BodyProps, children ...htmx.Node) htmx.Node
- func Card(p Props, children ...htmx.Node) htmx.Node
- func CardBorder(p Props, children ...htmx.Node) htmx.Node
- func Title(p TitleProps, children ...htmx.Node) htmx.Node
- type ActionsProps
- type BodyProps
- type Props
- type TitleProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Actions ¶
func Actions(p ActionsProps, children ...htmx.Node) htmx.Node
Actions is a component for the htmx card extension.
func CardBorder ¶ added in v0.5.3
CardBorder is a component for the htmx card extension with a bordered style.
Types ¶
type ActionsProps ¶
type ActionsProps struct {
ClassNames htmx.ClassNames
}
ActionsProps contains the properties for the card actions component.
type BodyProps ¶
type BodyProps struct {
ClassNames htmx.ClassNames
}
BodyProps contains the properties for the card body component.
type Props ¶ added in v0.5.4
type Props struct {
ClassNames htmx.ClassNames
}
Props contains the properties for the card component.
type TitleProps ¶
type TitleProps struct {
ClassNames htmx.ClassNames
}
TitleProps contains the properties for the card title component.
Click to show internal directories.
Click to hide internal directories.