Documentation
¶
Index ¶
- type Model
- func (m Model) Active() int
- func (m Model) ActiveSectionIndex() int
- func (m Model) HasSectionTabs() bool
- func (m *Model) NextSection() bool
- func (m *Model) PrevSection() bool
- func (m Model) SectionTabAtX(x int) int
- func (m *Model) SetActive(active int)
- func (m *Model) SetActiveSection(idx int)
- func (m *Model) SetSectionTabs(tabs []string)
- func (m *Model) SetTitles(titles []string)
- func (m Model) View() string
- func (m Model) ViewTabAtX(x int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewModel ¶
func NewModel(ctx *context.ProgramContext) Model
func (Model) ActiveSectionIndex ¶ added in v0.1.0
func (Model) HasSectionTabs ¶ added in v0.1.0
func (*Model) NextSection ¶ added in v0.1.0
func (*Model) PrevSection ¶ added in v0.1.0
func (Model) SectionTabAtX ¶ added in v0.1.0
func (*Model) SetActiveSection ¶ added in v0.1.0
func (*Model) SetSectionTabs ¶ added in v0.1.0
func (Model) ViewTabAtX ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.