You can add settings to a widget that provide a finer level control over the widget’s behavior when it is added to a layout. For example, the Related Products widget shown below has settings that allow the page designer to specify the number of related products to show and whether to display the name or price for related products. Any customizable settings that have been configured for a widget are available via the widget’s Settings tab.

This illustration is described in the preceding text.

To view a widget’s Settings tab:

Any configurable widget settings you create are added to the widget’s view model and can be referenced from the widget’s HTML template using a data-bind attribute. Examples for creating the data bind are provided later in this section.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices