compton_fragments

package
v0.7.30 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 kevlar.ReadableRedux) []compton.FormattedLabel

func FormatQuery added in v0.6.81

func FormatQuery(q map[string][]string, rdx kevlar.ReadableRedux) map[string][]string

func ProductCard added in v0.6.20

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

func ProductProperties

func ProductProperties(r compton.Registrar, id string, rdx kevlar.ReadableRedux) compton.Element

func ProductSection

func ProductSection(section string) compton.PageElement
func ProductSectionsLinks(r compton.Registrar, sections []string) compton.Element

func ProductsList

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

func SearchForm

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

func SetTint added in v0.6.81

func SetTint(id string, p compton.Element, rdx kevlar.ReadableRedux)

func SummarizeProductProperties added in v0.6.70

func SummarizeProductProperties(id string, rdx kevlar.ReadableRedux) ([]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