I
I
Ilya Loopashko2020-05-26 17:27:22
Vue.js
Ilya Loopashko, 2020-05-26 17:27:22

How can I add the code so that the time increases by 1 every second?

There is a prepared part in the code so that each task displays the time elapsed since it was added. How can I add the code so that this time increases by 1 every second.

Prepared code in lines 3-5 (Vue + No-Library (pure JS))

Code on jsfiddle

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-05-26
@deadloop


More or less like this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question