The activate method activates an item in the wijlist and allows the list to scroll to the item.
Syntax
$(function () {
var returnsValue; // Type: any
// Parameters
var event; // Type: object
var item; // Type: object
var scrollTo; // Type: bool
returnsValue = $(".selector").wijlist("activate", event, item, scrollTo);
});
function activate(
: object,
: object,
: bool
) : any;
Parameters
- event
- The event object that activates the item.
- item
- The listItem to activate.
- scrollTo
- Indicates whether to scroll the activated item into view.
See Also