Versions in this module Expand all Collapse all v0 v0.3.0 Jul 28, 2022 v0.2.0 Jul 25, 2022 Changes in this version + var ColumnTitle = lipgloss.NewStyle().Bold(true) + var ContainerPadding = 1 + var LabelTitle = lipgloss.NewStyle().Width(3) + var LastUpdateCellWidth = lipgloss.Width(" Updated") + type Model struct + Ctx *context.ProgramContext + Id int + IsLoading bool + Spinner spinner.Model + Table table.Model + Type string + func (m *Model) CreateNextTickCmd(nextTickCmd tea.Cmd) tea.Cmd + func (m *Model) FirstItem() int + func (m *Model) GetDimensions() constants.Dimensions + func (m *Model) GetIsLoading() bool + func (m *Model) LastItem() int + func (m *Model) NextRow() int + func (m *Model) PrevRow() int + func (m *Model) UpdateProgramContext(ctx *context.ProgramContext) + type View interface + BuildRows func() []table.Row + FetchViewRows func() tea.Cmd + FirstItem func() int + GetCurrRow func() data.RowData + GetIsLoading func() bool + GetViewColumns func() []table.Column + Id func() int + LastItem func() int + NextRow func() int + NumRows func() int + PrevRow func() int + Update func(msg tea.Msg) (View, tea.Cmd) + UpdateProgramContext func(ctx *context.ProgramContext) + View func() string + type ViewMsg interface + GetViewId func() int + GetViewType func() string + type ViewRowsFetchedMsg struct + ViewId int + func (msg ViewRowsFetchedMsg) GetViewId() int + type ViewTickMsg struct + InternalTickMsg tea.Msg + Type string + ViewId int + func (msg ViewTickMsg) GetViewId() int + func (msg ViewTickMsg) GetViewType() string v0.1.2-alpha Jul 23, 2022 v0.1.1-alpha Jul 23, 2022