Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HorizontalAlign ¶
type HorizontalAlign string
HorizontalAlign controls horizontal placement of the indicator item.
const ( HorizontalAlignEnd HorizontalAlign = "" HorizontalAlignStart HorizontalAlign = "indicator-start" HorizontalAlignCenter HorizontalAlign = "indicator-center" )
type ItemProps ¶
type ItemProps struct {
Class string
Attributes templ.Attributes
HorizontalAlign HorizontalAlign
VerticalAlign VerticalAlign
}
ItemProps configures the indicator item (the badge/status positioned on a corner).
type Props ¶
type Props struct {
ID string
Class string
Attributes templ.Attributes
}
Props configures the indicator container.
type VerticalAlign ¶
type VerticalAlign string
VerticalAlign controls vertical placement of the indicator item.
const ( VerticalAlignTop VerticalAlign = "" VerticalAlignMiddle VerticalAlign = "indicator-middle" VerticalAlignBottom VerticalAlign = "indicator-bottom" )
Click to show internal directories.
Click to hide internal directories.