Skip to main content
str1ve
July 28, 2023

Figma.on event

  • July 28, 2023
  • 2 replies
  • 682 views

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
July 28, 2023

Have you tried listening to the documentchange event?

figma.com

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

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
str1ve
str1veAuthor
July 28, 2023

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