textinput

package
v0.0.0-...-6dbed23 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bubble

func Bubble() string

Types

type CreatorModel

type CreatorModel struct {
	PromptText           *PromptText
	HelpText             *HelpText
	PlaceholderValue     *PlaceholderValue
	DefaultValue         *DefaultValue
	ValidationRegex      *ValidationRegex // mutually exclusive with ValidationJs
	ValidationJs         *ValidationJs    // mutually exclusive with ValidationRegex
	ValidationMinSize    *ValidationMinSize
	ValidationMaxSize    *ValidationMinSize
	ValidationCanBeBlank *ValidationCanBeBlank
	ValidationIsRequired *ValidationIsRequired
}

type Model

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

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type MyTest

type MyTest string

Jump to

Keyboard shortcuts

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