This tutorial demonstrates how to add a Events selector in a Feather widget's designer view.
PREREQUISITES: You created at least one event item, so that the selector can use it. For more information, see Events.
"components" : ["sf-event-selector"]
var designerModule = angular.module('designer');
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:
public object SelectedItem
public string SelectedId
If you enabled multiple selection of items, add sf-multiselect attribute. Then you must use the sf-selected-items and sf-selected-ids attributes instead of sf-selected-item and sf-selected-id.
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