Skip to main content
Solved

Selection event API?


Lewis_Healey

Hey! Thanks so much for your help before! I was wondering if you have any guidance on how to listen to messages when the user has made a selection? So when the user selects a layer, we can run a series on functions?

Figma

Figma Community plugin — Contrast makes it easy to check the contrast ratios of colors as you work. Select a layer and Contrast will immediately look for the color directly behind your selection and serve up the contrast ratio along with passing and…

This plugin seems to achieve this, I was wondering if they have any hacks in there or it’s something that is supported?

Thanks

Best answer by tank666

Unfortunately, I can’t help you with this question, but maybe the following article will be useful to you:

LogRocket Blog – 6 Oct 20
View original

4 replies

tank666
  • 4873 replies
  • May 11, 2022

Lewis_Healey
  • Author
  • New Participant
  • 14 replies
  • May 12, 2022

Thanks so much! I’m now trying to listen to those changes in my React app, what’s the recommended approach? I’m finding different implementations on Github


tank666
  • 4873 replies
  • Answer
  • May 12, 2022

Unfortunately, I can’t help you with this question, but maybe the following article will be useful to you:

LogRocket Blog – 6 Oct 20

Lewis_Healey
  • Author
  • New Participant
  • 14 replies
  • May 12, 2022

Very useful, thank you


Reply


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