Documentation
¶
Overview ¶
templ: version: v0.3.857
templ: version: v0.3.857
Index ¶
Constants ¶
View Source
const ( ButtonSizeXs string = "xs" ButtonSizeSm string = "sm" ButtonSizeMd string = "md" ButtonSizeLg string = "lg" ButtonSizeXl string = "xl" ButtonShapeCircular string = "circular" ButtonShapeRounded string = "rounded" ButtonShapeSquare string = "square" ButtonTooltipPositionTop string = "top" ButtonTooltipPositionBottom string = "bottom" ButtonTooltipPositionLeft string = "left" ButtonTooltipPositionRight string = "right" ButtonRingThicknessXs string = "xs" ButtonRingThicknessSm string = "sm" ButtonRingThicknessMd string = "md" ButtonRingThicknessLg string = "lg" ButtonRingThicknessXl string = "xl" )
View Source
const ( RangeSliderSizeXs string = "xs" RangeSliderSizeSm string = "sm" RangeSliderSizeMd string = "md" RangeSliderSizeLg string = "lg" RangeSliderSizeXl string = "xl" RangeSliderThumbShapeCircular string = "circular" RangeSliderThumbShapeRounded string = "rounded" RangeSliderThumbShapeSquare string = "square" RangeSliderThumbShapePipe string = "pipe" RangeSliderThumbValueBubblePositionTop string = "top" RangeSliderThumbValueBubblePositionBottom string = "bottom" RangeSliderThumbValueBubbleSizeXs string = "xs" RangeSliderThumbValueBubbleSizeSm string = "sm" RangeSliderThumbValueBubbleSizeMd string = "md" RangeSliderThumbValueBubbleSizeLg string = "lg" RangeSliderThumbValueBubbleSizeXl string = "xl" RangeSliderThumbValueBubbleShapeCircular string = "circular" RangeSliderThumbValueBubbleShapeRounded string = "rounded" RangeSliderThumbValueBubbleShapeSquare string = "square" RangeSliderThumbValueBubbleRingThicknessXs string = "xs" RangeSliderThumbValueBubbleRingThicknessSm string = "sm" RangeSliderThumbValueBubbleRingThicknessMd string = "md" RangeSliderThumbValueBubbleRingThicknessLg string = "lg" RangeSliderThumbValueBubbleRingThicknessXl string = "xl" RangeSliderTrackValueLabelPositionTop string = "top" RangeSliderTrackValueLabelPositionBottom string = "bottom" )
Variables ¶
This section is empty.
Functions ¶
func Button ¶
func Button(componentSettings ButtonSettings) templ.Component
func RangeSlider ¶
func RangeSlider(componentSettings RangeSliderSettings) templ.Component
Types ¶
type ButtonSettings ¶
type ButtonSettings struct {
// OptionalFields
Label string
BackgroundColor string
BackgroundColorHover string
IconLeft string
IconRight string
Id string
IsDisabled bool
IsDisabledOneWayStatePath string
IsFullWidth bool
IsSubmit bool
OnClickFunc string
OnClickPreventDefault bool
Shape string
Size string
TextColor string
TextColorHover string
TooltipContent string
TooltipContentHtml templ.Component
TooltipContentOneWayStatePath string
TooltipBackgroundColor string
TooltipPosition string
TooltipRingColor string
TooltipRingThickness string
TooltipTextColor string
RingColor string
RingColorHover string
RingThickness string
}
type RangeSliderSettings ¶
type RangeSliderSettings struct {
// OptionalFields
Size string
ThumbLabel string
ThumbLabelOneWayStatePath string
ThumbLabelIcon string
ThumbBackgroundColor string
ThumbTextColor string
ThumbShape string
ThumbValue string
ThumbValueTwoWayStatePath string
ThumbValueBubbleEnabled bool
ThumbValueBubbleBackgroundColor string
ThumbValueBubbleTextColor string
ThumbValueBubbleRingColor string
ThumbValueBubbleRingThickness string
ThumbValueBubbleSize string
ThumbValueBubbleShape string
ThumbValueBubblePosition string
ThumbDualValueModeEnabled bool
ThumbUpperValue string
ThumbUpperValueTwoWayStatePath string
ThumbUpperBackgroundColor string
ThumbUpperTextColor string
ThumbUpperLabel string
ThumbUpperLabelOneWayStatePath string
ThumbUpperLabelIcon string
ThumbUpperValueBubbleEnabled bool
ThumbUpperValueBubbleBackgroundColor string
ThumbUpperValueBubbleTextColor string
ThumbUpperValueBubbleRingColor string
ThumbUpperValueBubbleRingThickness string
ThumbUpperValueBubbleSize string
ThumbUpperValueBubbleShape string
ThumbUpperValueBubblePosition string
TrackBackgroundColor string
TrackBackgroundColorFrom string
TrackBackgroundColorVia string
TrackBackgroundColorTo string
TrackSteps string
TrackFillColor string
TrackFillColorFrom string
TrackFillColorVia string
TrackFillColorTo string
TrackStartValue string
TrackStartValueOneWayStatePath string
TrackStartValueLabelEnabled bool
TrackStartValueLabelTextColor string
TrackStartValueLabelPosition string
TrackStartValueLabelIcon string
TrackEndValue string
TrackEndValueOneWayStatePath string
TrackEndValueLabelEnabled bool
TrackEndValueLabelTextColor string
TrackEndValueLabelPosition string
TrackEndValueLabelIcon string
}
Click to show internal directories.
Click to hide internal directories.