slider

package
v0.0.0-...-878bea8 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Input

func Input(props ...InputProps) templ.Component

func Script

func Script() templ.Component

func Slider

func Slider(props ...Props) templ.Component

func Value

func Value(props ...ValueProps) templ.Component

Types

type InputProps

type InputProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Name       string
	Min        int
	Max        int
	Step       int
	Value      int
	Disabled   bool
}

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type ValueProps

type ValueProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	For        string // Corresponds to the ID of the Slider Input
}

Jump to

Keyboard shortcuts

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