Documentation ¶
Index ¶
- type ConfirmModel
- type Model
- type MultiSelectModel
- func (m MultiSelectModel) Init() tea.Cmd
- func (m MultiSelectModel) IsSubmitted() bool
- func (m MultiSelectModel) Name() string
- func (m MultiSelectModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m MultiSelectModel) Validate() error
- func (m MultiSelectModel) Value() interface{}
- func (m MultiSelectModel) View() string
- type SelectModel
- type StringModel
- type TableModel
- func (m TableModel) Init() tea.Cmd
- func (m TableModel) IsEmpty() bool
- func (m TableModel) IsSubmitted() bool
- func (m TableModel) Name() string
- func (m TableModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m TableModel) Value() interface{}
- func (m TableModel) ValueAsCSV() string
- func (m TableModel) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmModel ¶
type ConfirmModel struct {
// contains filtered or unexported fields
}
func NewConfirmModel ¶
func NewConfirmModel(v recipe.Variable, styles style.Styles) ConfirmModel
func (ConfirmModel) Init ¶
func (m ConfirmModel) Init() tea.Cmd
func (ConfirmModel) IsSubmitted ¶
func (m ConfirmModel) IsSubmitted() bool
func (ConfirmModel) Name ¶
func (m ConfirmModel) Name() string
func (ConfirmModel) Value ¶
func (m ConfirmModel) Value() interface{}
func (ConfirmModel) View ¶
func (m ConfirmModel) View() string
type MultiSelectModel ¶ added in v1.12.0
type MultiSelectModel struct {
// contains filtered or unexported fields
}
func NewMultiSelectModel ¶ added in v1.12.0
func NewMultiSelectModel(v recipe.Variable, styles style.Styles) MultiSelectModel
func (MultiSelectModel) Init ¶ added in v1.12.0
func (m MultiSelectModel) Init() tea.Cmd
func (MultiSelectModel) IsSubmitted ¶ added in v1.12.0
func (m MultiSelectModel) IsSubmitted() bool
func (MultiSelectModel) Name ¶ added in v1.12.0
func (m MultiSelectModel) Name() string
func (MultiSelectModel) Validate ¶ added in v1.12.0
func (m MultiSelectModel) Validate() error
func (MultiSelectModel) Value ¶ added in v1.12.0
func (m MultiSelectModel) Value() interface{}
func (MultiSelectModel) View ¶ added in v1.12.0
func (m MultiSelectModel) View() string
type SelectModel ¶
type SelectModel struct {
// contains filtered or unexported fields
}
func NewSelectModel ¶
func NewSelectModel(v recipe.Variable, styles style.Styles) SelectModel
func (SelectModel) Init ¶
func (m SelectModel) Init() tea.Cmd
func (SelectModel) IsSubmitted ¶
func (m SelectModel) IsSubmitted() bool
func (SelectModel) Name ¶
func (m SelectModel) Name() string
func (SelectModel) Value ¶
func (m SelectModel) Value() interface{}
func (SelectModel) View ¶
func (m SelectModel) View() string
type StringModel ¶
type StringModel struct {
// contains filtered or unexported fields
}
func NewStringModel ¶
func NewStringModel(v recipe.Variable, styles style.Styles) StringModel
func (StringModel) Init ¶
func (m StringModel) Init() tea.Cmd
func (StringModel) IsSubmitted ¶
func (m StringModel) IsSubmitted() bool
func (StringModel) Name ¶
func (m StringModel) Name() string
func (StringModel) Validate ¶
func (m StringModel) Validate() error
func (StringModel) Value ¶
func (m StringModel) Value() interface{}
func (StringModel) View ¶
func (m StringModel) View() string
type TableModel ¶
type TableModel struct {
// contains filtered or unexported fields
}
func NewTableModel ¶
func NewTableModel(v recipe.Variable, styles style.Styles) TableModel
func (TableModel) Init ¶
func (m TableModel) Init() tea.Cmd
func (TableModel) IsEmpty ¶ added in v1.8.0
func (m TableModel) IsEmpty() bool
func (TableModel) IsSubmitted ¶
func (m TableModel) IsSubmitted() bool
func (TableModel) Name ¶
func (m TableModel) Name() string
func (TableModel) Value ¶
func (m TableModel) Value() interface{}
func (TableModel) ValueAsCSV ¶
func (m TableModel) ValueAsCSV() string
func (TableModel) View ¶
func (m TableModel) View() string
Click to show internal directories.
Click to hide internal directories.