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

What is Framer? Join the Community
Return to index
Argiris Bendilas
Posted Nov 06 - Read on Facebook

Going deeper already! 🤓

Is it possible to pass animation state and options objects as method parameters, like so?

showMessage = (msgLayer, animDelay, animState = null, animOptions = null) ->
Utils.delay animDelay, ->
msgLayer.visible = true
if animState
msgLayer.animate animState
animOptions