Versions in this module Expand all Collapse all v0 v0.20.0 Feb 14, 2025 Changes in this version + type Model struct + Interval time.Duration + Timeout time.Duration + func New(timeout time.Duration) Model + func NewWithInterval(timeout, interval time.Duration) Model + func (m *Model) Start() tea.Cmd + func (m *Model) Stop() tea.Cmd + func (m *Model) Toggle() tea.Cmd + func (m Model) ID() int + func (m Model) Init() tea.Cmd + func (m Model) Running() bool + func (m Model) Timedout() bool + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) View() string + type StartStopMsg struct + ID int + type TickMsg struct + ID int + Timeout bool + type TimeoutMsg struct + ID int