Documentation
¶
Index ¶
- type Item
- type Model
- func (m *Model) Blur()
- func (m *Model) Collapse()
- func (m *Model) Expand()
- func (m *Model) Focus()
- func (m Model) HighlightedIndex() int
- func (m *Model) InsertItem(index int, item Item) tea.Cmd
- func (m Model) IsExpanded() bool
- func (m *Model) Items() []list.Item
- func (m *Model) RemoveItem(index int)
- func (m *Model) Select(index int)
- func (m Model) SelectedIndex() int
- func (m *Model) SelectedItem() Item
- func (m *Model) SetDelegate(d list.ItemDelegate)
- func (m *Model) SetItems(items []Item) tea.Cmd
- func (m *Model) SetShowFilter(v bool)
- func (m *Model) SetShowHelp(v bool)
- func (m *Model) SetShowPagination(v bool)
- func (m *Model) SetShowStatusBar(v bool)
- func (m *Model) SetShowTitle(v bool)
- func (m *Model) SetSyles(styles Styles)
- func (m Model) ShowFilter() bool
- func (m Model) ShowHelp() bool
- func (m Model) ShowPagination() bool
- func (m Model) ShowStatusBar() bool
- func (m Model) ShowTitle() bool
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- type Styles
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) HighlightedIndex ¶
func (Model) IsExpanded ¶ added in v1.0.33
func (*Model) RemoveItem ¶
func (Model) SelectedIndex ¶
func (*Model) SelectedItem ¶
func (*Model) SetDelegate ¶
func (m *Model) SetDelegate(d list.ItemDelegate)
func (*Model) SetShowFilter ¶
func (*Model) SetShowHelp ¶
func (*Model) SetShowPagination ¶
func (*Model) SetShowStatusBar ¶
func (*Model) SetShowTitle ¶
func (Model) ShowFilter ¶
func (Model) ShowPagination ¶
func (Model) ShowStatusBar ¶
Click to show internal directories.
Click to hide internal directories.