Documentation
¶
Index ¶
- func Accent(props Props, children ...htmx.Node) htmx.Node
- func Button(props Props, children ...htmx.Node) htmx.Node
- func Error(props Props, children ...htmx.Node) htmx.Node
- func Info(props Props, children ...htmx.Node) htmx.Node
- func Link(props Props, children ...htmx.Node) htmx.Node
- func Neutral(props Props, children ...htmx.Node) htmx.Node
- func Primary(props Props, children ...htmx.Node) htmx.Node
- func Secondary(props Props, children ...htmx.Node) htmx.Node
- func Underline(props Props, children ...htmx.Node) htmx.Node
- func Warning(props Props, children ...htmx.Node) htmx.Node
- type Props
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Props ¶
type Props struct {
// Rel is the relationship between the current document and the linked document.
Rel string
// Href is the URL of the linked document.
Href string
// Active indicates whether the link is active or not.
Active bool
htmx.ClassNames
}
Props represents the properties for a link element.
Click to show internal directories.
Click to hide internal directories.