start.on('click', function(){
setInterval(time, 1000);
object.animate({ marginTop: '500px' }, 3000, function () {
normaal.fadeIn(700);
});
});
function time() {
change.textContent = Number(change.textContent) + 50;
}
How excatly can I stop (clear) this setInterval
. I want it to automatically start after 3000 miliseconds once the even has been called.