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

What is Framer? Join the Community
Return to index
Joseph Reni
Posted Nov 09 - Read on Facebook

Does anyone know if there is a way to use the "Change Events" to track a change to a custom attribute? for example if I extend layer and add "isEnabled". is there way to use "Chang events" to see if I change the value from false to true?

1 Comments

Jordan Robert Dobson

You would have to add your own custom event. It’s not too hard.

You want to sub class Layers and setup a “define” getter and setter.

Then you can emit an event which you can listen for on every change.

Read the entire post on Facebook