Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListModel ¶
type ListModel struct {
// contains filtered or unexported fields
}
ListModel represents a scrollable list component
func (ListModel) Selected ¶
Selected returns the currently selected item, or nil if there are no items
func (*ListModel) SetPointer ¶
SetPointer changes the pointer rune used to indicate selection
type SelectedMsg ¶
type SelectedMsg struct {
Item Item
}
SelectedMsg is emitted when an item is selected
Click to show internal directories.
Click to hide internal directories.