Documentation ¶
Index ¶
- type ListPrompt
- func (m ListPrompt) Choice() string
- func (m ListPrompt) Init() tea.Cmd
- func (m ListPrompt) IsComplete() bool
- func (m ListPrompt) IsPaginationVisible() bool
- func (m *ListPrompt) SetChoice(choice string)
- func (m *ListPrompt) SetMaxDisplayedItems(maxDisplayedItems int)
- func (m *ListPrompt) SetMinimized(minimized bool)
- func (m ListPrompt) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- 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) IsPaginationVisible ¶ added in v1.54.7
func (m ListPrompt) IsPaginationVisible() bool
func (*ListPrompt) SetChoice ¶
func (m *ListPrompt) SetChoice(choice string)
func (*ListPrompt) SetMaxDisplayedItems ¶ added in v1.54.7
func (m *ListPrompt) SetMaxDisplayedItems(maxDisplayedItems int)
func (*ListPrompt) SetMinimized ¶ added in v1.54.7
func (m *ListPrompt) SetMinimized(minimized bool)
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.