The activate method activates an item in the wijlist and allows the list to scroll to the item.
Syntax
Javascript (Usage) | |
---|
$(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);
});
|
Javascript (Specification) | |
---|
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.
Browser Compatibility
See Also
Reference
wijlist type
wijlist jQuery Widget