Documentation
¶
Index ¶
- type Item
- type Model
- func (m *Model) Height() int
- func (m *Model) Move(delta int)
- func (m *Model) Scroll(delta int)
- func (m *Model) Selectable() bool
- func (m *Model) Selected() (Item, bool)
- func (m *Model) SetFocused(f bool)
- func (m *Model) SetItems(items []Item)
- func (m *Model) SetItemsKeepingCursor(items []Item)
- func (m *Model) SetSize(w, h int)
- func (m *Model) View() string
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) Selectable ¶
func (*Model) SetFocused ¶
func (*Model) SetItemsKeepingCursor ¶ added in v0.1.13
Click to show internal directories.
Click to hide internal directories.