On an JS event, I add a class moved
to an element.
How can I remove this class after 1 second?
I use Meteor.
On an JS event, I add a class moved
to an element.
How can I remove this class after 1 second?
I use Meteor.
Use setTimeout func:
setTimeout(function(){$('YouElement').removeClass('ClassName');},1000);