Reset Widget
Use the resetWidget function to revert a widget to its default state. Any user input changes will get reverted and the values in the default properties will be applied.

Signature

1
resetWidget(widgetName: string, resetChildren?: boolean = true) -> Promise
Copied!

Arguments

Argument Name
Description
widgetName
The name of the widget that needs to be reset
resetChildren (optional)
Should all children be reset as well. Defaults to true
Click to expand
Copy link
Edit on GitHub