Documentation ¶
Index ¶
- type Model
- func (m *Model) FirstItem() int
- func (m *Model) GetCurrItem() int
- func (m *Model) GetNumRowsPerPage() int
- func (m *Model) LastItem() int
- func (m *Model) NextItem() int
- func (m *Model) PrevItem() int
- func (m *Model) ResetCurrItem()
- func (m *Model) SetNumItems(numItems int)
- func (m *Model) SetSize(width int, height int)
- func (m *Model) SyncViewPort(content string)
- 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 { TopBoundId int BottomBoundId int ListItemHeight int NumItems int ItemTypeLabel string // contains filtered or unexported fields }
func (*Model) GetCurrItem ¶
func (*Model) GetNumRowsPerPage ¶
func (*Model) ResetCurrItem ¶
func (m *Model) ResetCurrItem()
func (*Model) SetNumItems ¶
func (*Model) SyncViewPort ¶
Click to show internal directories.
Click to hide internal directories.