Documentation
¶
Overview ¶
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
Index ¶
- func AddressResults(addresses []string) templ.Component
- func Alerts() templ.Component
- func Footer() templ.Component
- func Head() templ.Component
- func Header() templ.Component
- func Language() templ.Component
- func Page(options *PageOptions) templ.Component
- func PreferredAverageSpeedMetric(w *database.Workout, preferredUnits *database.UserPreferredUnits) templ.Component
- func PreferredSpeedMetric(wt *database.WorkoutType, v float64, ...) templ.Component
- func SnippetDate(date time.Time) templ.Component
- func TabbedContent(groupName string, tabs ...Tab) templ.Component
- func Theme() templ.Component
- func Version() templ.Component
- type PageOptions
- type Tab
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressResults ¶
func Page ¶
func Page(options *PageOptions) templ.Component
func PreferredSpeedMetric ¶
func PreferredSpeedMetric(wt *database.WorkoutType, v float64, preferredUnits *database.UserPreferredUnits) templ.Component
func TabbedContent ¶ added in v2.5.0
Types ¶
type PageOptions ¶
type PageOptions struct {
Scripts, Styles []string
}
func NewPageOptions ¶
func NewPageOptions() *PageOptions
func (*PageOptions) WithScripts ¶
func (o *PageOptions) WithScripts(scripts ...string) *PageOptions
func (*PageOptions) WithSharing ¶
func (o *PageOptions) WithSharing() *PageOptions
func (*PageOptions) WithStyles ¶
func (o *PageOptions) WithStyles(styles ...string) *PageOptions
func (*PageOptions) WithWebComponent ¶ added in v2.5.0
func (o *PageOptions) WithWebComponent(name string) *PageOptions
Click to show internal directories.
Click to hide internal directories.