listquery

package
v0.0.0-...-d27b038 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorMsg

type ErrorMsg struct {
	Err error
}

type Model

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

func New

func New(inputs []textinput.Model, spinnerType spinner.Spinner, l list.Model, query queryFn) Model

func (*Model) Init

func (m *Model) Init(width, height int) tea.Cmd

func (*Model) SetQuery

func (m *Model) SetQuery(query queryFn)

func (Model) Update

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

func (Model) View

func (m Model) View() string

type ResultMsg

type ResultMsg struct {
	Items []list.Item
}

Jump to

Keyboard shortcuts

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