24 questions
1
vote
1
answer
351
views
how do multiple timer countonw in mat table angular
I'm trying to make a table in which there will be some kind of time counter for each row.
i used "mat-progress-bar" with dynamic value, but i cant customise each timer for is correspondant ...
1
vote
1
answer
578
views
make unique timer for each ngFor item
I am using angular. I have created custom stopwatch. I am managing the start/end button for each ngFor item. but not able to manage unique timer for each ngFor item.
in the above image, I have ...
3
votes
4
answers
11k
views
create a stopwatch in angular 6
I am using angular. I want to implement stopwatch. I have a list which consists of one or more objects. I have a start timer and end the timer button for each item. when I click on the start button ...
0
votes
0
answers
127
views
How to use timer with socket.io factory in angular js?
I am trying to use timer with socket.io in angular js but its not working. I am able to send data from node server to client, also i am getting the alert properly but my timer is not working.
Angular ...
0
votes
2
answers
369
views
Why unable to Clear the SetInterval in javascript ? is this approach is wrong?
In one of my app, angular based application have written the user session time put if user gets idle for 10 minutes , gets the warning pop up in 5th minute and after 10 minutes , needs to logout.
...
0
votes
0
answers
660
views
angular timer unable start multiple timers separatly
I use ng-repeat in uib-tabset and in each tab is timer. Each timer has a Start button so each timer can be started on some action.
<uib-tabset active="activeTab">
<uib-tab ng-repeat="...
0
votes
0
answers
41
views
Duration tracking in AngularJS
Im trying to handle durationc calculation in my AngularJS app.
If User logged In then it should show timer counting time in Hr and Mins.
for example. User logged in since 15 minutes passed then UI ...
0
votes
1
answer
3k
views
How to start and reset angular timer from controller?
I want to start timer when user click on recordLogs method and reset timer when user click on stopLogs method. According to angular-timer documentation we can use timer-stop and timer-clear method to ...
0
votes
1
answer
319
views
trying to use angular-timer, am getting this error "TypeError: moment.locale is not a function"
I have been trying to use the angular-timer, in my angularjs app, but I keep getting this error "TypeError: moment.locale is not a function".
I added my scripts like so. please can someone help me ...
1
vote
3
answers
548
views
angular js timer function not working on stop button
I am learning angular js now for that purpose i have written sample test application with angular Js using timer function init ...
when ever i run the app in browser i am able to start the counter and ...
1
vote
0
answers
64
views
How to test angular-timer with gulp-cdnizer test option
I have the following gulp code for gulp-cdnizer. I would like to ensure that angular-timer is working by specifying a test option as I did for angular in the example below.
How can I specify the ...
1
vote
1
answer
1k
views
Angular Material app - delayed changes
I was developing a simple stopwatch app using AngularJS + Angular Material + Electron, and somehow the data changes/watches were being delayed, until another UI interaction takes place (?) This had ...
2
votes
1
answer
49
views
Does canceling a $timeout in the following 'then' function work?
I do this kind of all the time and I'm not too sure it works. If it does, How can I check? If it doesn't whats a better method of canceling a timeout after it's completed?
var delay = $timeout(...
2
votes
1
answer
846
views
angular-timer with webpack
I tried using angular-timer with webpack, es6 and the npm modules of moment and humanize-duration
My implementation would be:
import 'moment';
import 'humanize-duration';
import 'angular-timer';
And ...
1
vote
5
answers
2k
views
Angular Timer directive not working
I want a timer of 1 minute which should stop as soon as it reaches 1 minute and should call a function then. I am using angular-timer directive for this.
The code I am using in html is
<timer end-...