setProps( )


Sets the widget's properties. You can also assign a partial subset of the widget's properties.

The setProps() function returns a Promise that resolves when the properties are set. To use this function on an inner (nested) widget, use getNestedWidget().

Method Declaration
Copy
Method Parameters
propsPropsRequired

Object with some or all of the widget's properties.

Did this help?