Documentation ¶
Index ¶
- type ListPrompt
- func (m ListPrompt) Choice() string
- func (m ListPrompt) Init() tea.Cmd
- func (m ListPrompt) IsComplete() bool
- func (m *ListPrompt) SetChoice(choice string)
- func (m ListPrompt) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m ListPrompt) UpdateItems(items []list.ListItem) ListPrompt
- func (m ListPrompt) UpdateListPrompt(msg tea.Msg) (ListPrompt, tea.Cmd)
- func (m ListPrompt) View() string
- type ListPromptArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListPrompt ¶
func NewListPrompt ¶
func NewListPrompt(args ListPromptArgs) ListPrompt
func (ListPrompt) Choice ¶
func (m ListPrompt) Choice() string
func (ListPrompt) Init ¶
func (m ListPrompt) Init() tea.Cmd
func (ListPrompt) IsComplete ¶
func (m ListPrompt) IsComplete() bool
func (*ListPrompt) SetChoice ¶
func (m *ListPrompt) SetChoice(choice string)
func (ListPrompt) UpdateItems ¶
func (m ListPrompt) UpdateItems(items []list.ListItem) ListPrompt
func (ListPrompt) UpdateListPrompt ¶
func (m ListPrompt) UpdateListPrompt(msg tea.Msg) (ListPrompt, tea.Cmd)
func (ListPrompt) View ¶
func (m ListPrompt) View() string
Click to show internal directories.
Click to hide internal directories.