Documentation ¶
Index ¶
- func New[T number](name string, theme configuration.Theme) tea.Model
- type Model
- func (Model[T]) Focus() bool
- func (Model[T]) Init() tea.Cmd
- func (model Model[T]) Labels() []string
- func (model Model[T]) Legends() []string
- func (model Model[T]) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (model Model[T]) UpdateAsBoxed(msg tea.Msg) (helpers.BoxedModel, tea.Cmd)
- func (model Model[T]) View() string
- type PushMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model[T number] struct {
// contains filtered or unexported fields
}
func (Model[T]) UpdateAsBoxed ¶
Click to show internal directories.
Click to hide internal directories.