focusChange

fires on moving focus to a new item

void focusChange(number index,string|number id){ ... };

Parameters

indexnumberthe position of an item
idstring|numberthe id of an item

Example

list.events.on("FocusChange", function(index, id){
    // your code here
});

Related samples

Back to top