Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormModel ¶
type FormModel struct { Inputs []textinput.Model Focused int // contains filtered or unexported fields }
func NewFormModel ¶
type InputModel ¶
type InputModel struct { Title string Input textinput.Model // contains filtered or unexported fields }
func NewInputModel ¶
func NewInputModel() InputModel
func (InputModel) Init ¶
func (m InputModel) Init() tea.Cmd
func (InputModel) View ¶
func (m InputModel) View() string
type SubmitButton ¶
type SubmitButton struct {
// contains filtered or unexported fields
}
func NewSubmitButton ¶
func NewSubmitButton() SubmitButton
func (*SubmitButton) Blur ¶
func (b *SubmitButton) Blur()
func (*SubmitButton) Focus ¶
func (b *SubmitButton) Focus()
func (SubmitButton) Update ¶
func (b SubmitButton) Update(msg tea.Msg) (SubmitButton, tea.Cmd)
func (SubmitButton) View ¶
func (b SubmitButton) View() string
Click to show internal directories.
Click to hide internal directories.