Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
7 years, 5 months ago
I've an existing app which heavily uses a custom Visualforce Timer component (usual timer - start/ stop/ reset). We're porting over our application to use Lightning and running into issues porting this into a Lightning Component.
I see there is a component library but I do not find any timer component. Can anyone tell me if there is a built-in/ 3rd party timer component for Lightning?
Dec 31, 2015 at 5:09
203 3 3 silver badges 7 7 bronze badges
I don't believe that there is a built-in one, but I was able to create my own fairly simply.
Here is the repo :
I am using a static resource that contains bootstrap, but you really don't have to use that if you don't want to. The main thing is Stopwatch.cmp and StopwatchController.js.
Dec 31, 2015 at 20:06
Moshe Karmel Moshe Karmel
830 1 1 gold badge 7 7 silver badges 13 13 bronze badges
log in to answer this question.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only