text_input

package
v0.0.0-...-f0cf636 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextInput

type TextInput interface {
	components.InteractiveComponent

	GetValue() string
	SetValue(value string) TextInput
}

func New

func New(opts ...TextInputOpt) TextInput

type TextInputOpt

type TextInputOpt func(input TextInput)

func WithFocus

func WithFocus(isFocused bool) TextInputOpt

func WithValue

func WithValue(value string) TextInputOpt

Jump to

Keyboard shortcuts

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