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

What is Framer? Join the Community
Return to index
Rohan K
Posted Dec 08 - Read on Facebook

sorry if this is a repeat query, but i tried searching for it...
is there an event that fires when the value of a variable changes? the current change events supports only layer properties (width, height, x, y etc.)

4 Comments

Jordan Robert Dobson

You would have to set this up yourself by extending layer. I don't believe that layer.custom: gets fired during changes.

Rohan K

but i am not looking to manipulate a layer, i want to track a variable

Jordan Robert Dobson

Same difference.

Jordan Robert Dobson

It's an event based off of getters and setters. I'm not sure if there is an observe for typical variables. I bet you could make one!

Read the entire post on Facebook