Wijmo UI for the Web
activate Method
The event object that activates the item.
The listItem to activate.
Indicates whether to scroll the activated item into view.
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( 
   event : object,
   item : object,
   scrollTo : 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
7
5
5

See Also

Reference

wijlist type
wijlist jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.