Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ let outputElement = document.getElementById('output');
// Start the clock by calling .start()
clock.start();

// Or toggling the `running` property
clock.running = true;
// Stop the clock by calling .stop()
clock.stop();

// Or toggle the `running` property
clock.running = !clock.running;

// Speed up the the flow of time
clock.rate = 2.0;
Expand Down