Documentation
¶
Index ¶
- type Action
- type OnResponseFunc
- type Response
- type View
- func (m *View) AllowEscapeKey() bool
- func (m *View) Init() tea.Cmd
- func (m *View) Message() string
- func (m *View) MessageStyle() lipgloss.Style
- func (m *View) OnResponse() OnResponseFunc
- func (m *View) SetAllowEscapeKey(b bool)
- func (m *View) SetMessage(s string)
- func (m *View) SetMessageStyle(s lipgloss.Style)
- func (m *View) SetOnResponse(fn OnResponseFunc)
- func (m *View) SetSpinnerStyle(s lipgloss.Style)
- func (m *View) SetSpinnerType(s spinner.Spinner)
- func (m *View) SpinnerStyle() lipgloss.Style
- func (m *View) SpinnerType() spinner.Spinner
- 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 ¶
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 {
Spinner spinner.Model
ext.PrefixExt
ext.SuffixExt
// contains filtered or unexported fields
}
func (*View) AllowEscapeKey ¶
func (*View) MessageStyle ¶
func (*View) OnResponse ¶
func (m *View) OnResponse() OnResponseFunc
func (*View) SetAllowEscapeKey ¶
func (*View) SetMessage ¶
func (*View) SetMessageStyle ¶
func (*View) SetOnResponse ¶
func (m *View) SetOnResponse(fn OnResponseFunc)
func (*View) SetSpinnerStyle ¶
func (*View) SetSpinnerType ¶
func (*View) SpinnerStyle ¶
func (*View) SpinnerType ¶
Click to show internal directories.
Click to hide internal directories.