compton_fragments

package
v0.8.74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AppNavLinks(r compton.Registrar, current string) compton.Element

func AppPage

func AppPage(current string) (p compton.PageElement, stack *compton.FlexItemsElement)

func Button added in v0.6.30

func Button(r compton.Registrar, title, href string) compton.Element

func EpochDate

func EpochDate(e int64) string

func FormatLabels added in v0.6.20

func FormatLabels(id string, rdx redux.Readable) []compton.FormattedLabel

func FormatQuery added in v0.6.81

func FormatQuery(q map[string][]string, rdx redux.Readable) map[string][]string

func ProductCard added in v0.6.20

func ProductCard(r compton.Registrar, id string, hydrated bool, rdx redux.Readable) compton.Element
func ProductExternalLinks(r compton.Registrar, extLinks map[string][]string) compton.Element

func ProductPoster

func ProductPoster(r compton.Registrar, id string, rdx redux.Readable) compton.Element

func ProductProperties

func ProductProperties(r compton.Registrar, id string, rdx redux.Readable) compton.Element

func ProductSection

func ProductSection(section string) compton.PageElement

func ProductValidationResult added in v0.7.91

func ProductValidationResult(id string, rdx redux.Readable) (string, color.Color)

func ProductsList

func ProductsList(r compton.Registrar, ids []string, from, to int, rdx redux.Readable) compton.Element

func SearchForm

func SearchForm(r compton.Registrar, query map[string][]string, searchQuery *compton.FrowElement, rdx redux.Readable) compton.Element
func SearchLinks(r compton.Registrar, current string) compton.Element

func SteamDeckCompatibility added in v0.7.83

func SteamDeckCompatibility(id string, rdx redux.Readable) (string, color.Color)

func SteamReviewScoreDesc added in v0.7.89

func SteamReviewScoreDesc(id string, rdx redux.Readable) (string, color.Color)

func SummarizeProductProperties added in v0.6.70

func SummarizeProductProperties(id string, rdx redux.Readable) ([]string, map[string][]string)

func Updated

func Updated(r compton.Registrar, updated string) compton.Element
func VideoOriginLink(r compton.Registrar, videoId, videoTitle, videoDuration string) compton.Element

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL