selectbox

package
v0.0.0-...-de93bbd Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content

func Content(props ...ContentProps) templ.Component

func Group

func Group(props ...GroupProps) templ.Component

func Item

func Item(props ...ItemProps) templ.Component

func Label

func Label(props ...LabelProps) templ.Component

func Script

func Script() templ.Component

func SelectBox

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

func Trigger

func Trigger(props ...TriggerProps) templ.Component

func Value

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

Types

type ContentProps

type ContentProps struct {
	ID                string
	Class             string
	Attributes        templ.Attributes
	NoSearch          bool
	SearchPlaceholder string
}

type GroupProps

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

type ItemProps

type ItemProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Value      string
	Selected   bool
	Disabled   bool
}

type LabelProps

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

type Props

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

type TriggerProps

type TriggerProps struct {
	ID                string
	Class             string
	Attributes        templ.Attributes
	Name              string
	Required          bool
	Disabled          bool
	HasError          bool
	Multiple          bool
	ShowPills         bool
	SelectedCountText string
}

type ValueProps

type ValueProps struct {
	ID          string
	Class       string
	Attributes  templ.Attributes
	Placeholder string
	Multiple    bool
}

Jump to

Keyboard shortcuts

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