need use multiple countdown
amirsamani opened this issue · 4 comments
amirsamani commented
hi,
i use a countdown in each row of a table
I want to delete that row when the each count down timer complete
please help me.
vydimitrov commented
Hey, you can hook to the onComplete
method and add your logic to delete the row
amirsamani commented
thanks is there any way to access parent tr of completed countdowntimer in onComplete method?
vydimitrov commented
This depends of your implantation. Usually you pass a prop, which is a method/function from the parent to the children. Then in the onComplete
you call the prop/method and the parent takes it from there.
vydimitrov commented
Let me know if you need any additional help on this one.