Documentation ¶
Index ¶
- type OnResponseFunc
- type Response
- type View
- func (m *View) Blur()
- func (m *View) Focus()
- func (m *View) FocusStyle() lipgloss.Style
- func (m *View) FocusText() string
- func (m *View) Focused() bool
- func (m *View) Init() tea.Cmd
- func (m *View) OnResponse() OnResponseFunc
- func (m *View) SetFocusStyle(style lipgloss.Style)
- func (m *View) SetFocusText(format string, a ...any)
- func (m *View) SetOnResponse(fn OnResponseFunc)
- func (m *View) SetStyle(style lipgloss.Style)
- func (m *View) SetText(format string, a ...any)
- func (m *View) Style() lipgloss.Style
- func (m *View) Text() string
- func (m *View) Update(msg tea.Msg) tea.Cmd
- func (m *View) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnResponseFunc ¶ added in v0.1.2
type Response ¶
type Response struct { Error error // contains filtered or unexported fields }
func (*Response) OnResponse ¶
func (r *Response) OnResponse(msg bubbleviews.ResponseMessage) tea.Cmd
func (*Response) View ¶
func (r *Response) View() bubbleviews.View
type View ¶
type View struct {
// contains filtered or unexported fields
}
func (*View) FocusStyle ¶
func (*View) OnResponse ¶
func (m *View) OnResponse() OnResponseFunc
func (*View) SetFocusStyle ¶
func (*View) SetFocusText ¶
func (*View) SetOnResponse ¶ added in v0.1.2
func (m *View) SetOnResponse(fn OnResponseFunc)
Click to show internal directories.
Click to hide internal directories.