Documentation
¶
Index ¶
- func NewButton(label string, btnType utils.ButtonType, msg tea.Msg) button.Model
- func NewInput(label, def, placeholder string, inputtype utils.InputType) input.Model
- func NewRadio(label string) radio.Model
- func NewSelector(options []string, multiselect bool) selector.Model
- type Actor
- type App
- type Field
- func (f Field) AddElement(element component.Viewer) Field
- func (f *Field) FocusFirst()
- func (f *Field) FocusLast()
- func (f *Field) FocusNext()
- func (f *Field) FocusPrev()
- func (f Field) GetControls() []component.Viewer
- func (f Field) GetFocusers() []component.Focuser
- func (f Field) GetViewersWithoutControls() []component.Viewer
- func (f Field) Init() tea.Cmd
- func (f Field) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (f Field) View() string
- type Messenger
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
type Field ¶ added in v1.0.0
type Field struct {
// contains filtered or unexported fields
}
func (*Field) FocusFirst ¶ added in v1.0.0
func (f *Field) FocusFirst()
func (Field) GetControls ¶ added in v1.0.0
func (Field) GetFocusers ¶ added in v1.0.0
func (Field) GetViewersWithoutControls ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.