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

resetWidget(widgetName: string, resetChildren?: boolean) -> void

Arguments

Argument Name

Description

widgetName

The name of the widget that needs to be reset

resetChildren (optional)

Should all children be reset as well

Click to expand