Documentation
¶
Index ¶
- type Iterator
- type Option
- type OptionModel
- func (n *OptionModel) GetSelected() string
- func (n *OptionModel) GetSize() (int, int)
- func (n *OptionModel) Init() tea.Cmd
- func (n *OptionModel) Overlay() helpers.UseOverlay
- func (n *OptionModel) Rows() int
- func (n *OptionModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (n *OptionModel) View() string
- type Options
- type Row
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionModel ¶
type OptionModel struct {
// contains filtered or unexported fields
}
func NewOptionModel ¶
func NewOptionModel[T Options](options T) *OptionModel
func (*OptionModel) GetSelected ¶
func (n *OptionModel) GetSelected() string
func (*OptionModel) GetSize ¶
func (n *OptionModel) GetSize() (int, int)
func (*OptionModel) Init ¶
func (n *OptionModel) Init() tea.Cmd
func (*OptionModel) Overlay ¶
func (n *OptionModel) Overlay() helpers.UseOverlay
func (*OptionModel) Rows ¶
func (n *OptionModel) Rows() int
func (*OptionModel) View ¶
func (n *OptionModel) View() string
Click to show internal directories.
Click to hide internal directories.