Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewItemDelegate ¶
func NewItemDelegate() list.ItemDelegate
Types ¶
type SimpleItem ¶
type SimpleItem struct {
ItemTitle string
Activate func(msg tea.Msg, currentModel tea.Model) (tea.Model, tea.Cmd)
// I know this is ugly but generics are coming soon and I cba
Extra interface{}
}
func (SimpleItem) Description ¶
func (n SimpleItem) Description() string
func (SimpleItem) FilterValue ¶
func (n SimpleItem) FilterValue() string
func (SimpleItem) GetTitle ¶
func (n SimpleItem) GetTitle() string
func (SimpleItem) Title ¶
func (n SimpleItem) Title() string
Click to show internal directories.
Click to hide internal directories.