slider

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Input added in v1.1.0

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

func Script added in v1.1.0

func Script() templ.Component

func Slider

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

func Value added in v1.1.0

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

Types

type InputProps added in v1.1.0

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 added in v1.1.0

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