Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
document.querySelectorAll('.js-counter').forEach(counterItem => {
counterUp(counterItem, {
duration: 1000,
delay: 10
});
});
}
handler() {
counterUp( el )
el.classList.remove( 'ugb-countup--hide' )
this.destroy()
},
offset: 'bottom-in-view',