search

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model is the model for the confirm component.

func Search(state ui.ApplicationState) Model

func (Model) Dirty

func (m Model) Dirty() bool

Dirty returns true if the text input is dirty.

func (*Model) Focus

func (m *Model) Focus() tea.Cmd

Focus focuses the text input.

func (Model) Init

func (m Model) Init() tea.Cmd

Init initializes the confirm component.

func (Model) Update

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

func (Model) Value added in v0.2.1

func (m Model) Value() string

Value returns the value of the text input.

func (Model) View

func (m Model) View() string

type ResultsMsg

type ResultsMsg struct {
	IDs resource.SetOfIDs
}

Jump to

Keyboard shortcuts

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