Skip to main content
Solved

Multiple widgets

  • October 18, 2022
  • 3 replies
  • 596 views

mohan_vadivel

Hello Folkz,
I was wondering, how can I spin out a child widget, similar to how asana task spin out as its own widget.

When I tried with widget.register, figma replaces the current widget.

Also from the widget api docs I found The widget.register function should only be called once when the manifest.main file runs.

Thanks in advance!

Best answer by tank666

figma.com
View original

3 replies

tank666
  • 4873 replies
  • Answer
  • October 18, 2022

mohan_vadivel

Thankyou ☺, Can you please confirm these

  • I believe, in order to clone a widget, I need to access that widget node and call cloneWidget method on them.
  • But I can access the widget node only from the plugin API, within iframe.
  • And there is no way to clone a widget with widget API.

tank666
  • 4873 replies
  • October 18, 2022

That’s right.


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