Skip to main content
Question

Can you get the event of a variant change on an instance?

  • January 18, 2023
  • 0 replies
  • 213 views

aleksanderd

Hi. We’re doing a plugin that updates layer styles when creating instances in a file. However sometimes the different variants have layer structure, meaning that when swapping from for example buttonIcon=false to buttonIcon=true, the newly added icon will not have the style changes made on the parent instance.

Is there a way to check the document changes for updates to the variants?

This topic has been closed for replies.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings