Documentation ¶
Index ¶
- type Model
- func (m *Model) Highlight(i int)
- func (m Model) IsHighlighted(i int) bool
- func (m *Model) IsSelected(i int) bool
- func (m *Model) Select(i int)
- func (m *Model) SelectOnly()
- func (m *Model) Toggle(i int)
- func (m *Model) Unselect(i int)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m *Model) Values() []string
- func (m Model) View() string
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. LoadingMessage string // contains filtered or unexported fields }
func (Model) IsHighlighted ¶
func (*Model) IsSelected ¶
func (*Model) SelectOnly ¶
func (m *Model) SelectOnly()
Click to show internal directories.
Click to hide internal directories.