Example of template object and event handler of cart in controller:
$scope.data = [
{id: 1, value: “Item 1”},
{id: 2, value: “Item 2”},
{id: 3, value: “Item 3”},
{id: 4, value: “Item 4”},
{id: 5, value: “Item 5”},
{id: 6, value: “Item 6”},
{id: 7, value: “Item 7”},
{id: 8, value: “Item 8”}
];
console.log(value);
Attributes:
1. headertext
Type: String
Used to specify the text that is shown in the Modal’s header bar.
2. Items
Type: Array
A list of items that is bound to the select.
3. multiple
Type: Boolean
TRUE for for multiple select or FALSE for single select.
4. textproperty
Property description of item the array.
5. valueproperty
Property id of item the array.
6. text
Value default multiselect.
7. modaltemplateurl
Type: URL
An optional URL that can be used to customise the look and feel of the Modal
8. templateurl
An optional URL that can be used to custom the look and feel of fancyselect
element.
9. notetext
An optional note that can be displayed in the default Select Box element.
10. valuechanged (Callback)
Parameters: value The currently selected value or list of values
Raised when the current value changes.
If you are interested in full ‘E-Commerce Package’ or have any query Contact Us