This tutorial demonstrates how to add a News selector in a Feather widget's designer view.
PREREQUISITES: You created at least one News item, so that the selector can use it. For more information, see News.
NOTE: For more information on scripts that you must load, see Feather: List of selectors scripts reference.
You can use the sf-selected-item and sf-selected-item-id attributes to access the selected value. The values of the attributes are scope properties that you must added in your widgets controller:
If you enabled multiple selection of items, you must use the sf-selected-items and sf-selected-ids attributes.
For more information on multiple selection of items, see Feather: Use multiple items selectors.
To select which provider you want to work with, use the sf-provider attribute. The attribute value must be a property in your scope that contains the name of the provider.
Back To Top