How to use counterup2 - 2 common examples

To help you get started, we’ve selected a few counterup2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shopsys / framework / assets / js / admin / components / CounterUp.js View on Github external
document.querySelectorAll('.js-counter').forEach(counterItem => {
            counterUp(counterItem, {
                duration: 1000,
                delay: 10
            });
        });
    }
github gambitph / Stackable / src / block / count-up / frontend.js View on Github external
handler() {
				counterUp( el )
				el.classList.remove( 'ugb-countup--hide' )
				this.destroy()
			},
			offset: 'bottom-in-view',

counterup2

Counter-Up2 is a lightweight module that counts up to a targeted number when the number becomes visible.

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular counterup2 functions