From 2cc953e2b399f81f796ec3c9afbf869ba13cbfcd Mon Sep 17 00:00:00 2001 From: David Peer Date: Fri, 25 Feb 2022 18:58:35 +0100 Subject: [PATCH] Updated readme --- apps/widtmr/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/apps/widtmr/README.md b/apps/widtmr/README.md index e81cac3d5..9e640c618 100644 --- a/apps/widtmr/README.md +++ b/apps/widtmr/README.md @@ -15,7 +15,7 @@ started / stopped. ![](description.png) -# Lib +# Library for other Apps Different functions are exposed to integrate a timer into your own app. @@ -28,20 +28,25 @@ The following functions are available: Example to increase the timer by 5 and ensure that its started: ```Javascript +Bangle.loadWidgets(); +... WIDGETS["widtmr"].increaseTimer(5); WIDGETS["widtmr"].setStarted(true); ``` Example to decrease the timer. This also disables the timer if time <= 0.: ```Javascript +Bangle.loadWidgets(); +... WIDGETS["widtmr"].decreaseTimer(5); ``` # Creator [David Peer](https://github.com/peerdavid) - forked from Chrono Widget of [Purple-Tentacle](https://github.com/Purple-Tentacle) # Thanks to... -Time icon created by CreativeCons - Flaticon \ No newline at end of file +Forked from Chrono Widget of [Purple-Tentacle](https://github.com/Purple-Tentacle) + +Time icon created by CreativeCons - Flaticon \ No newline at end of file