Search...
props
Sets or gets the widget's properties.
Description
The props
property is an object containing all of the widget's properties.
Type:
ObjectRead & Write
Was this helpful?
Get a widget's properties
Copy Code
1$w('#text1').text = $widget.props.shoe.size; // "43"
Set a widget's properties
Copy Code
1$widget.props = { saleIndicator: "No Sale" };