Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Crubbletea::Bubbles::Timer::Model
Inherits
Reference
<
Object
Constructors
new
(timeout :
Time::Span
= 10.seconds, interval :
Time::Span
= 1.second)
Source
Instance methods
id
Source
init
Source
interval
Source
reset
(timeout :
Time::Span
) :
Nil
Source
running?
Source
start
Source
stop
Source
timedout?
Source
timeout
Source
toggle
Source
update
(msg :
Crubbletea::Msg
) :
Tuple
(
Model
,
Crubbletea::Cmd
)
Source
view
Source