Documentation
¶
Index ¶
- func New(c *app.Ctx, onChange func(text string), value string, opts ...prop) *app.C
- func TextField(c *app.Ctx, rawProps app.Props) string
- func WithBackground(bg color.Color) prop
- func WithForeground(fg color.Color) prop
- func WithGrow(grow bool) prop
- func WithGrowX(grow bool) prop
- func WithGrowY(grow bool) prop
- func WithOnEnter(onEnter func()) prop
- func WithTitle(title string) prop
- type Props
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBackground ¶
func WithForeground ¶
func WithOnEnter ¶
func WithOnEnter(onEnter func()) prop
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
runeutil
Package runeutil provides utility functions for tidying up incoming runes from Key messages.
|
Package runeutil provides utility functions for tidying up incoming runes from Key messages. |
|
textinput
Package textinput provides a text input component for Bubble Tea applications.
|
Package textinput provides a text input component for Bubble Tea applications. |
Click to show internal directories.
Click to hide internal directories.