$(function () { var returnsValue; // Type: object // Parameters var indices; // Type: undefined var byIndex; // Type: bool returnsValue = $(".selector").wijlist("getItems", indices, byIndex); });
Parameters
- indices
- the indices of the items.
- byIndex
- Indicates the indices parameter is indices or values of items. If true, it's used as the index/indices of the item(s) to get. If false, it's used as the value/values of the item(s) to get.
Return Value
the item at the specified index or with the specified value.