The activate method activates an item in the wijlist and allows the list to scroll to the item.
Syntax
Javascript (Usage) | |
---|
var instance = new jQuery.wijmo.wijlist();
var value; // Type: any
// Parameters
var event; // Type: object
var item; // Type: object
var scrollTo; // Type: bool
value = instance.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