tabs

package
v4.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	CurrSectionId int
	// contains filtered or unexported fields
}

func NewModel

func NewModel(ctx *context.ProgramContext) Model

func (*Model) SetCurrSectionId

func (m *Model) SetCurrSectionId(id int)

func (Model) Update

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

func (*Model) UpdateSectionCounts added in v4.3.0

func (m *Model) UpdateSectionCounts(sections []section.Section)

func (*Model) UpdateSectionsConfigs added in v4.3.0

func (m *Model) UpdateSectionsConfigs(ctx *context.ProgramContext)

func (Model) View

func (m Model) View(ctx context.ProgramContext) string

Jump to

Keyboard shortcuts

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