text

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Text

type Text struct {
	obj.ElementWithID
	obj.ElementWithCallback
	// contains filtered or unexported fields
}

func New

func New(id int, txt string, texttype utils.TextType) Text

func (Text) Data

func (t Text) Data() interface{}

implementing Accessor

func (Text) Set

func (t Text) Set(txt string) Text

special

func (Text) Update

func (t Text) Update(msg tea.Msg) (obj.Element, tea.Cmd)

implementing Element

func (Text) View

func (t Text) View(bool) string

Jump to

Keyboard shortcuts

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