225
Views
2
Comments
Solved
[JavaScript Timing Events] How to use clearInterval or clearTimeout action
Question
javascript-timing-events
Mobile icon
Forge asset by Hélio Dolores

How do I use the clear action; What do I use for the input paramter Id.


2017-01-10 15-48-58
Hélio Dolores
Staff
Solution

There's a new version with that Event. 

I've updated the example too, I hope it helps.

Thanks!


2017-01-10 15-48-58
Hélio Dolores
Staff

Hi Matthias,

It should be the Id of the timer. But I see that I'm not returning that on the widgets, and you might find confusing if you are trying to stop the widget timer using the API and not by destroying the element (which makes perfect sense).

Maybe I should add one event returning the ID so that you can invoke the clear API.

Thanks!


2017-01-10 15-48-58
Hélio Dolores
Staff
Solution

There's a new version with that Event. 

I've updated the example too, I hope it helps.

Thanks!


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.