input

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	*dom.Element
	Label       string
	Placeholder string
	Value       string
	Type        string // text, email, password
	Required    bool
	OnInput     func(dom.Event)
}

func (*Input) IconSvg

func (i *Input) IconSvg() map[string]string

func (*Input) Render

func (i *Input) Render() *dom.Element

func (*Input) RenderCSS

func (i *Input) RenderCSS() string

Jump to

Keyboard shortcuts

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