Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item[T interface{}] struct {
// contains filtered or unexported fields
}
Item represents an item in the list
type Model ¶
type Model[T interface{}] struct {
// contains filtered or unexported fields
}
The list model provides a base list component with the ability to filter
func InitialModel ¶
func InitialModel[T interface{}](ctx *context.ProgramContext, title string) Model[T]
Get new list
func (*Model[T]) GetSelected ¶
Return the selected element
Click to show internal directories.
Click to hide internal directories.