views

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateEnabledKeyOnListScroll

func UpdateEnabledKeyOnListScroll(m *ListModel)

Types

type FormModel

type FormModel struct{}

func FormInitialModel

func FormInitialModel() FormModel

func (FormModel) Init

func (m FormModel) Init() tea.Cmd

func (FormModel) Update

func (m FormModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (FormModel) View

func (m FormModel) View() string

type ListModel

type ListModel struct {
	List         list.Model
	ListKeys     models.ListKeyMap
	DelegateKeys models.DelegateKeyMap
	// contains filtered or unexported fields
}

func ListInitialModel

func ListInitialModel() ListModel

func (ListModel) Init

func (m ListModel) Init() tea.Cmd

func (ListModel) Update

func (m ListModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ListModel) View

func (m ListModel) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL