description |
---|
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. |
resetWidget(widgetName: string, resetChildren?: boolean = true) -> Promise
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 |