Documentation ¶
Index ¶
- type Input
- type InputConfig
- type Model
- func (m Model) GetInputs() map[string]Input
- func (m Model) GetLabel(c InputConfig) string
- func (m Model) GetLabels() map[string]string
- func (m Model) Init() tea.Cmd
- func (m Model) SetFooter(foot string) Model
- func (m Model) SetHeader(head string) Model
- func (m Model) SetSkip(skip bool) Model
- func (m Model) SetSubmitMsg(msg string) Model
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) View() string
- type SelectNextMsg
- type SelectSkipMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputConfig ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func New ¶
func New(config []InputConfig) Model
func (Model) GetLabel ¶
func (m Model) GetLabel(c InputConfig) string
func (Model) SetSubmitMsg ¶ added in v3.81.6
type SelectNextMsg ¶
type SelectNextMsg int
SelectNextMsg used for emitting events when the 'Next' button is selected.
type SelectSkipMsg ¶
type SelectSkipMsg int
SelectSkipMsg used for emitting events when the 'Skip' button is selected.
Click to show internal directories.
Click to hide internal directories.