Documentation
¶
Overview ¶
templ: version: v0.3.906
templ: version: v0.3.906
templ: version: v0.3.906
templ: version: v0.3.906
templ: version: v0.3.906
templ: version: v0.3.906
templ: version: v0.3.906
templ: version: v0.3.906
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 Theme() templ.Component
- func Version() templ.Component
- type PageOptions
- func (o *PageOptions) WithCharts() *PageOptions
- func (o *PageOptions) WithHeatMaps() *PageOptions
- func (o *PageOptions) WithMaps() *PageOptions
- func (o *PageOptions) WithScripts(scripts ...string) *PageOptions
- func (o *PageOptions) WithSharing() *PageOptions
- func (o *PageOptions) WithStyles(styles ...string) *PageOptions
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
Types ¶
type PageOptions ¶
type PageOptions struct {
Scripts, Styles []string
}
func NewPageOptions ¶
func NewPageOptions() *PageOptions
func (*PageOptions) WithCharts ¶
func (o *PageOptions) WithCharts() *PageOptions
func (*PageOptions) WithHeatMaps ¶
func (o *PageOptions) WithHeatMaps() *PageOptions
func (*PageOptions) WithMaps ¶
func (o *PageOptions) WithMaps() *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
Click to show internal directories.
Click to hide internal directories.