Seconds elapsed
In this note I implemented a seconds elapsed example which is rendered below.
seconds elapsed 0
Seconds elapsed can be implemented with the same boilerplate functions (pubsub.js and state.js) that was introduced for the Simple Counter implemented here.
The implementation of the seconds elapsed component utilizing state.js and pubsub.js can be seen below: