Documentation
¶
Overview ¶
templ: version: v0.3.1070
templ: version: v0.3.1070
Index ¶
Constants ¶
View Source
const ( ButtonSizeXs string = "xs" ButtonSizeSm string = "sm" ButtonSizeMd string = "md" ButtonSizeLg string = "lg" ButtonSizeXl string = "xl" )
View Source
const ( RangeSliderSizeXs string = "xs" RangeSliderSizeSm string = "sm" RangeSliderSizeMd string = "md" RangeSliderSizeLg string = "lg" RangeSliderSizeXl string = "xl" RangeSliderThumbShapePipe string = "pipe" RangeSliderThumbValueBubblePositionTop string = "top" RangeSliderThumbValueBubblePositionBottom string = "bottom" RangeSliderThumbValueBubbleDisplayModeAlways string = "always" RangeSliderThumbValueBubbleDisplayModeHover string = "hover" RangeSliderThumbValueBubbleSizeXs string = "xs" RangeSliderThumbValueBubbleSizeSm string = "sm" RangeSliderThumbValueBubbleSizeMd string = "md" RangeSliderThumbValueBubbleSizeLg string = "lg" RangeSliderThumbValueBubbleSizeXl string = "xl" RangeSliderTrackValueLabelPositionTop string = "top" RangeSliderTrackValueLabelPositionBottom string = "bottom" RangeSliderTrackTooltipPositionTop string = "top" RangeSliderTrackTooltipPositionBottom 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
AriaLabel string
AriaLabelOneWayStatePath string
BackgroundColor string
BackgroundColorActive string
BackgroundColorHover string
IconLeft string
IconLeftOneWayStatePath string
IconRight string
IconRightOneWayStatePath string
Id string
IsDisabled bool
IsDisabledOneWayStatePath string
IsVisibleOneWayStatePath string
IsFullWidth bool
IsSubmit bool
MaxHeightClass string
MaxWidthClass string
MinHeightClass string
MinWidthClass string
OnClickFunc string
OnClickPreventDefault bool
PaddingSize string
Shape string
Size string
TextCase string
TextColor string
TextColorHover string
TooltipContent string
TooltipContentHtml templ.Component
TooltipContentOneWayStatePath string
TooltipBackgroundColor string
TooltipPosition string
TooltipRingColor string
TooltipRingThickness string
TooltipTextColor string
TooltipMinWidthClass string
TooltipMaxWidthClass string
TooltipMinHeightClass string
TooltipMaxHeightClass string
RingColor string
RingColorHover string
RingThickness string
}
type RangeSliderSettings ¶
type RangeSliderSettings struct {
// OptionalFields
Size string
ThumbLabel string
ThumbLabelOneWayStatePath string
ThumbLabelIcon string
ThumbAriaLabel string
ThumbBackgroundColor string
ThumbTextColor string
ThumbShape string
ThumbValue string
ThumbValueTwoWayStatePath string
ThumbValueBubbleEnabled bool
ThumbValueBubbleDisplayMode string
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
ThumbUpperAriaLabel string
ThumbUpperValueBubbleEnabled bool
ThumbUpperValueBubbleDisplayMode string
ThumbUpperValueBubbleBackgroundColor string
ThumbUpperValueBubbleTextColor string
ThumbUpperValueBubbleRingColor string
ThumbUpperValueBubbleRingThickness string
ThumbUpperValueBubbleSize string
ThumbUpperValueBubbleShape string
ThumbUpperValueBubblePosition string
TrackBackgroundColor string
TrackBackgroundColorFrom string
TrackBackgroundColorVia string
TrackBackgroundColorTo string
TrackSteps string
TrackTicksEnabled bool
TrackTickStep string
TrackTooltipEnabled bool
TrackTooltipPosition string
TrackTooltipBackgroundColor string
TrackTooltipTextColor string
TrackTooltipRingColor string
TrackTooltipRingThickness 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
ShouldNormalizeInitialState bool
}
Click to show internal directories.
Click to hide internal directories.