component

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

func (*Component) Blur

func (f *Component) Blur()

func (*Component) Focus

func (f *Component) Focus() tea.Cmd

func (Component) Focused

func (f Component) Focused() bool

type Focuser

type Focuser interface {
	Focused() bool
	Focus() tea.Cmd
	Blur()
}

type TextInputWrap

type TextInputWrap struct {
	Model textinput.Model
}

func (*TextInputWrap) Blur

func (t *TextInputWrap) Blur()

func (*TextInputWrap) Focus

func (t *TextInputWrap) Focus() tea.Cmd

func (TextInputWrap) Focused

func (t TextInputWrap) Focused() bool

type Updater

type Updater interface {
	Focuser
	Update(tea.Msg) (Updater, tea.Cmd)
}

type Viewer

type Viewer interface {
	View() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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