Skip to main content
Solved

HProperty 'createButton' does not exist on type 'PluginAPI'

  • September 5, 2023
  • 3 replies
  • 184 views

I’m using ChatGPT to help me write a plugin that takes user input from one form and pass it to another - so want to create the plugin UI’s programmatically.

I know ChatGPT has old reference data. What has replaced Figma.createButton() and Figma.createInput() to programmatically create form elements in typescript?

Best answer by tank666

figma.com
View original
This topic has been closed for replies.

3 replies

tank666
  • 4873 replies
  • September 5, 2023
figma.com

Your ChatGPT came up with these methods.


Yes that is what I want to do. In the first UI the user inputs some data, data is manipulated in code.ts and the manipulated data displayed back to the user.

I love how ChatGPT is making stuff up to answer questions. I have looked at the Figma plugin API docs and can’t find anything that programmatically creates form elements like inputs or buttons.

Can you point me in the specific direction?


tank666
  • 4873 replies
  • Answer
  • September 6, 2023

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