Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
- func End(props ...EndProps) templ.Component
- func Hr(class ...string) templ.Component
- func Item(props ...ItemProps) templ.Component
- func Middle(props ...MiddleProps) templ.Component
- func Start(props ...StartProps) templ.Component
- func Timeline(props ...Props) templ.Component
- type Direction
- type EndProps
- type ItemProps
- type MiddleProps
- type Props
- type StartProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middle ¶
func Middle(props ...MiddleProps) templ.Component
func Start ¶
func Start(props ...StartProps) templ.Component
Types ¶
type EndProps ¶
type EndProps struct {
ID string
Class string
Attributes templ.Attributes
Box bool
}
EndProps configures the end-side content.
type ItemProps ¶
type ItemProps struct {
ID string
Class string
Attributes templ.Attributes
}
ItemProps configures a timeline item.
type MiddleProps ¶
type MiddleProps struct {
ID string
Class string
Attributes templ.Attributes
}
MiddleProps configures the middle content (icon).
type Props ¶
type Props struct {
ID string
Class string
Attributes templ.Attributes
Direction Direction
SnapIcon bool
Compact bool
}
Props configures the timeline container.
type StartProps ¶
type StartProps struct {
ID string
Class string
Attributes templ.Attributes
Box bool
}
StartProps configures the start-side content.
Click to show internal directories.
Click to hide internal directories.