inputs

package
v0.0.0-...-be055d7 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.2.543

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Autocomplete

func Autocomplete(completion string) func(*InputProps)

func Autofocus

func Autofocus() func(*InputProps)

func Error

func Error(errors Errors) func(*InputProps)

func Input

func Input(id, name string, options ...func(*InputProps)) templ.Component

func Placeholder

func Placeholder(placeholder string) func(*InputProps)

func Tabindex

func Tabindex(index int) func(*InputProps)

func Type

func Type(_type string) func(*InputProps)

func Value

func Value(value string) func(*InputProps)

Types

type Errors

type Errors map[string]string

func (*Errors) IsNil

func (e *Errors) IsNil() bool

type InputProps

type InputProps struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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