Documentation ¶
Index ¶
- type Base
- func (b *Base) AddKeyGroup(group KeyGroup)
- func (b *Base) ClearGroups()
- func (b *Base) DisabledNextKey()
- func (b *Base) DisabledPrevKey()
- func (b *Base) DisabledSetKey()
- func (b *Base) FilterValue() string
- func (b *Base) Init() tea.Cmd
- func (b *Base) Name() string
- func (b *Base) RegisterHelp(action ViewFunc)
- func (b *Base) RegisterLevels(total int, action SetLevelAction)
- func (b *Base) RegisterView(action ViewFunc)
- func (b *Base) SetError(err error)
- func (b *Base) SetFailure(msg string)
- func (b *Base) SetParent(parent tea.Model)
- func (b *Base) SetStars(total, erned int)
- func (b *Base) SetSuccess(msg string)
- func (b *Base) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (b *Base) View() string
- type Game
- type KeyGroup
- type KeyMap
- type SetLevelAction
- type ViewFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { Err error // contains filtered or unexported fields }
func (*Base) AddKeyGroup ¶
func (*Base) ClearGroups ¶
func (b *Base) ClearGroups()
func (*Base) DisabledNextKey ¶ added in v0.2.1
func (b *Base) DisabledNextKey()
func (*Base) DisabledPrevKey ¶ added in v0.2.1
func (b *Base) DisabledPrevKey()
func (*Base) DisabledSetKey ¶ added in v0.2.1
func (b *Base) DisabledSetKey()
func (*Base) FilterValue ¶
func (*Base) RegisterHelp ¶
func (*Base) RegisterLevels ¶
func (b *Base) RegisterLevels(total int, action SetLevelAction)
func (*Base) RegisterView ¶
func (*Base) SetFailure ¶
func (*Base) SetSuccess ¶
type SetLevelAction ¶
type SetLevelAction func(int)
Click to show internal directories.
Click to hide internal directories.