Documentation ¶
Index ¶
- Variables
- type ContentViewer
- type Model
- func (m Model) ContentView(module any) string
- func (m Model) ErrorView(err error) string
- func (m Model) GetContentHeight(module any) int
- func (m Model) GetContentWidth() int
- func (m Model) GetFooterWidth() int
- func (m Model) GetFullContentHeight() int
- func (m Model) GetHeaderWidth() int
- func (m *Model) SetHeight(height int)
- func (m *Model) SetSize(width, height int)
- func (m *Model) SetWidth(width int)
- func (m *Model) View(module any) string
- type SimpleViewer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HeaderStyle = lipgloss.NewStyle().MarginBottom(1) ContentStyle = HeaderStyle.Copy().Margin(0, 1, 1, 1) ErrorStyle = ContentStyle.Copy() )
Functions ¶
This section is empty.
Types ¶
type ContentViewer ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) ContentView ¶
func (Model) GetContentHeight ¶
func (Model) GetContentWidth ¶
func (Model) GetFooterWidth ¶
func (Model) GetFullContentHeight ¶
func (Model) GetHeaderWidth ¶
Click to show internal directories.
Click to hide internal directories.