Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
Label string // display text
Description string // optional description
Value string // the actual value to insert
}
Item represents a single autocomplete suggestion.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the autocomplete suggestion dropdown component.
func (Model) CursorDown ¶
CursorDown moves the selection down, wrapping to the top at the bottom.
func (Model) Selected ¶
Selected returns the currently selected item, or false if nothing is selected.
Click to show internal directories.
Click to hide internal directories.