Documentation ¶
Index ¶
- type Column
- type Model
- func (m *Model) FirstItem() int
- func (m *Model) GetCurrItem() int
- func (m *Model) IsLoading() bool
- func (m *Model) LastItem() int
- func (m *Model) LastUpdated() time.Time
- func (m *Model) NextItem() int
- func (m *Model) OnLineDown()
- func (m *Model) OnLineUp()
- func (m *Model) PrevItem() int
- func (m *Model) ResetCurrItem()
- func (m *Model) SetDimensions(dimensions constants.Dimensions)
- func (m *Model) SetIsLoading(isLoading bool)
- func (m *Model) SetRows(rows []Row)
- func (m Model) StartLoadingSpinner() tea.Cmd
- func (m *Model) SyncViewPortContent()
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m *Model) UpdateLastUpdated(t time.Time)
- func (m *Model) UpdateProgramContext(ctx *context.ProgramContext)
- func (m *Model) UpdateTotalItemsCount(count int)
- func (m Model) View() string
- type Row
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Columns []Column Rows []Row EmptyState *string // contains filtered or unexported fields }
func (*Model) GetCurrItem ¶
func (*Model) LastUpdated ¶
func (*Model) OnLineDown ¶
func (m *Model) OnLineDown()
func (*Model) ResetCurrItem ¶
func (m *Model) ResetCurrItem()
func (*Model) SetDimensions ¶
func (m *Model) SetDimensions(dimensions constants.Dimensions)
func (*Model) SetIsLoading ¶
func (Model) StartLoadingSpinner ¶
func (*Model) SyncViewPortContent ¶
func (m *Model) SyncViewPortContent()
func (*Model) UpdateLastUpdated ¶
func (*Model) UpdateProgramContext ¶
func (m *Model) UpdateProgramContext(ctx *context.ProgramContext)
func (*Model) UpdateTotalItemsCount ¶
Click to show internal directories.
Click to hide internal directories.