Documentation
¶
Index ¶
- type Model
- func (m Model) ClearPath() Model
- func (m Model) GetWidth() int
- func (m Model) Height(height int) Model
- func (m Model) SetContent(preview PreviewResultMsg) Model
- func (m Model) SetPath(path string) (Model, tea.Cmd)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- func (m Model) Width(width int) Model
- type PreviewReadyMsg
- type PreviewResultMsg
- type ResizeMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) SetContent ¶
func (m Model) SetContent(preview PreviewResultMsg) Model
type PreviewReadyMsg ¶
type PreviewReadyMsg struct{}
type PreviewResultMsg ¶
type PreviewResultMsg struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.