Documentation
¶
Index ¶
- type BackMsg
- type KeyMap
- type Model
- func (m *Model) Color() lipgloss.Color
- func (m *Model) Init() tea.Cmd
- func (m *Model) Resize(width, height int) tea.Cmd
- func (m *Model) SetContent(content string)
- func (m *Model) SetData(title, content string, color lipgloss.Color)
- func (s *Model) Status() string
- func (m *Model) Title() string
- func (m *Model) Update(msg tea.Msg) tea.Cmd
- func (m *Model) View() string
- type NotificationMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
type KeyMap struct { // Viewport is the original viewport KeyMap Viewport *viewport.KeyMap Copy, GoTop, GoBottom, Back key.Binding }
KeyMap implements help.KeyMap.
type Model ¶
func (*Model) SetContent ¶
type NotificationMsg ¶
type NotificationMsg struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.