Documentation ¶
Index ¶
- type OnResponseFunc
- type Response
- type View
- func (m *View) Init() tea.Cmd
- func (m *View) OnResponse() OnResponseFunc
- func (m *View) SetOnResponse(fn OnResponseFunc)
- func (m *View) SetShowCancel(show bool)
- func (m *View) SetShowOK(show bool)
- func (m *View) ShowCancel() bool
- func (m *View) ShowOK() bool
- 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 { Username *string Password *string 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 { EntryUsername *entry.View EntryPassword *entry.View BtnOk *button.View BtnCancel *button.View ext.PrefixExt ext.SuffixExt // contains filtered or unexported fields }
func (*View) OnResponse ¶
func (m *View) OnResponse() OnResponseFunc
func (*View) SetOnResponse ¶ added in v0.1.2
func (m *View) SetOnResponse(fn OnResponseFunc)
func (*View) SetShowCancel ¶
func (*View) ShowCancel ¶
Click to show internal directories.
Click to hide internal directories.