Skip to main content
Question

How can I refresh/re-render a widget via Property Menu?

  • August 6, 2023
  • 1 reply
  • 367 views

Dimm1

Hey!

I’m currently developing a widget that is based on pages inside of a file that will create an “index page”

And I want to add a “refresh” button in my property menu to re-render the widget, but I didn’t find any way to do so in the documentation, and if I use the widget.register(widget) inside the function I receive an error

Is there any right way to write code that will re-render the widget?

This topic has been closed for replies.

tank666

I don’t know what your code looks like, but you can call the necessary function that gets the required data and sets the states for the widget’s components.


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