wc.widgets.Select
The Select widget is an extension of the JQuery UI API selectmenu
. The
Select widget inherits all the functionality from JQuery widget selectmenu
and
displays a select box to match the overall style of the Aurora starter store.
Sample Output
Example
<select data-widget-type="wc.Select" data-widget-options="{‘useValueAsLink’: true}" ></select>
Options
- useValueAsLink
- (Boolean) Determines whether the values of the select menu elements are treated as links. The default value is false. When you specify a value, the onChange element is ignored.
- wcMenuClass
- (String) The CSS class to add to the select menu elements.