This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Michał Jarosz
Posted Jan 18 - Read on Facebook

Hi,

I am not coder, but I believe there's some trick to do number counter in Framer JS with or without this: https://inorganik.github.io/countUp.js/

It's popular, but sometimes I need present it to client.

5 Comments

Michał Jarosz

Anyone?

Gabriel Lovato

I'm on my phone but try this
counterLayer = new Layer
counterValue = 0
Utils.Interval 0.05, ->
if counterValue < 200
counterValue++
layer.html = counterValue

Michał Jarosz

Thanks man! You can see this here: http://share.framerjs.com/j3924sy6wlnd/

If is possible add ease-out effects for this that would be awesome, I trying do it using Utils.delay but that was only delaying all animation, not separately one digit.

Ezzat Chamudi
Read the entire post on Facebook