Documentation ¶ Index ¶ type Model func New(prompt string, items []string) Model func (m Model) Blur() Model func (m Model) Focus() Model func (m Model) Focused() bool func (m Model) Init() tea.Cmd func (m Model) SelectedItem() string func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) func (m Model) View() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { SelectedStyle lipgloss.Style UnselectedStyle lipgloss.Style // contains filtered or unexported fields } func New ¶ func New(prompt string, items []string) Model func (Model) Blur ¶ func (m Model) Blur() Model func (Model) Focus ¶ func (m Model) Focus() Model func (Model) Focused ¶ func (m Model) Focused() bool func (Model) Init ¶ func (m Model) Init() tea.Cmd func (Model) SelectedItem ¶ func (m Model) SelectedItem() string func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string Source Files ¶ View all Source files list.go Click to show internal directories. Click to hide internal directories.