Skip to main content

Figma.on event


str1ve

Hello. Recently I worked with plugin that can work only in “export” page. It was easy to add listener on page change, but rename page doesn’t trigger any event. Because of it user after rename should re-open plugin or change page and get back to export. Not really cool UX… I think it will be better to trigger currentpagechange.

2 replies

tank666
  • 4859 replies
  • July 28, 2023

Have you tried listening to the documentchange event?

figma.com

https://www.figma.com/plugin-docs/api/DocumentChangeEvent


str1ve
  • Author
  • 1 reply
  • July 28, 2023

God, why it works only after asking on forum 💀
Yep, thanks, this is what I need


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