Gets the widget's properties.
The getProps()
function returns a Promise that resolves to an object with all of the widget's properties. To use this function on an inner (nested) widget, use getNestedWidget()
.
Note:
The getProps()
function doesn't work in preview mode.