Documentation
¶
Index ¶
- type Border
- type Header
- type Model
- func (m Model) Border(border Border) Model
- func (m Model) BorderDefault() Model
- func (m Model) Focused(focused bool) Model
- func (m Model) HeaderStyle(style lipgloss.Style) Model
- func (m Model) HighlightStyle(style lipgloss.Style) Model
- func (m Model) HighlightedRow() Row
- func (m Model) Init() tea.Cmd
- func (m Model) SelectableRows(selectable bool) Model
- func (m Model) SelectedRows() []Row
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- func (m Model) WithRows(rows []Row) Model
- type MovementMode
- type Row
- type RowData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Border ¶ added in v0.2.0
type Border struct {
Top string
Left string
Right string
Bottom string
TopRight string
TopLeft string
BottomRight string
BottomLeft string
TopJunction string
LeftJunction string
RightJunction string
BottomJunction string
InnerJunction string
InnerDivider string
// contains filtered or unexported fields
}
Border defines the borders in and around the table
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) BorderDefault ¶ added in v0.2.0
func (Model) HighlightedRow ¶
func (Model) SelectableRows ¶
func (Model) SelectedRows ¶
type MovementMode ¶
type MovementMode int
Click to show internal directories.
Click to hide internal directories.