angular-timer | re-usable/inter-operable AngularJS timer directive ⛺ | Keyboard library
kandi X-RAY | angular-timer Summary
kandi X-RAY | angular-timer Summary
re-usable/inter-operable AngularJS timer directive
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of angular-timer
angular-timer Key Features
angular-timer Examples and Code Snippets
Community Discussions
Trending Discussions on angular-timer
QUESTION
I am trying to display a timer as shown below in this screenshot. To count up constantly to show how long since this entry has been made.
I couldn't find too many options for doing it in Angular. I found this solution in Angular JS. https://siddii.github.io/angular-timer/ I need the timer exactly like this. But I was not able to port it into Angular or I couldn't. So tried the other alternatives available and found these still they are all also not working.
https://www.npmjs.com/package/ng2-simple-timer
https://www.npmjs.com/package/ngx-timer
The closest I got to was this ngx-timer's Countup-timer. https://www.npmjs.com/package/ngx-timer the timer works fine and its able to start from a given date as per my requirement. startTimer(startDate). But it has an known issue which is still unresolved that is it applies itself to the last known index of the timer element thereby only one timer running in a whole list of timers.You can notice that in the above given screenshot itself.
its a known bug. https://github.com/Y4SHVINE/ngx-timer-lib/issues
So can somebody help me with a solution or some tweaks to one of these solutions to make it work.
Thanks.
...ANSWER
Answered 2020-Mar-08 at 12:14You could do this with RxJS like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install angular-timer
Download the latest script file - https://raw.github.com/siddii/angular-timer/master/dist/angular-timer.min.js
Clone the repo - git@github.com:siddii/angular-timer.git
Install angular-timer using Bower - bower install angular-timer
Add timer to your list of modules
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page