Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// Prompt and text input for the selection.
textinput.Model
// The list of possible choices.
Choices []string
// Indicates the value does not need to match a choice.
Editable bool
// Spinner to use while loading.
LoadingSpinner spinner.Model
// Message to display while loading (choices is nil).
LoadingMessage string
// Message to display if there are no results (choices is empty).
NoResultsMessage string
// contains filtered or unexported fields
}
func (*Model) IsSelected ¶
func (*Model) SelectLast ¶ added in v2.0.13
func (m *Model) SelectLast()
func (*Model) SelectOnly ¶
func (m *Model) SelectOnly()
Click to show internal directories.
Click to hide internal directories.