obj

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accessor

type Accessor interface {
	ID() int
	Data() interface{}
}

type Actor added in v1.3.0

type Actor interface {
	Callback() tea.Msg
}

type Element

type Element interface {
	View(bool) string
	Update(tea.Msg) (Element, tea.Cmd)
}

type ElementWithCallback added in v1.3.0

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

func NewElementWithCallback added in v1.3.0

func NewElementWithCallback(callback tea.Msg) ElementWithCallback

func (ElementWithCallback) Callback added in v1.3.0

func (e ElementWithCallback) Callback() tea.Msg

type ElementWithID

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

func NewElementWithID

func NewElementWithID(id int) ElementWithID

func (ElementWithID) ID

func (e ElementWithID) ID() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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