Reset All Props
element.resetAllProps()
Reset all prop values on a component instance to their component defaults.
This method removes all static value overrides and bindings so that every prop returns the value that is defined in the component definition. This method is a no-op if the instance has no overrides, and resolves without error in that case. The reset is undoable via the Designer’s undo stack.
Syntax
Returns
Promise<null>
A Promise that resolves to null