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

What is Framer? Join the Community
Return to index
John Sherwin
Posted Sep 07 - Read on Facebook

Hi Folks, This is probably a basic programming question but I'm trying to build a counter in Framer and need to increment in value of 1. I can get it to start but can't figure out how to get it to calculate the current value and keep adding one up to a max of 10. Heres the prototype -
Appreciate any help. Cheers!


Randi Dumaguet

Update addButton code to:
addButton.onClick ->
startNumber += numberIncrement
Number.html = Utils.round(startNumber)

John Sherwin

Randi Dumaguet Worked like a charm! Thank you sir!

Read the entire post on Facebook