fires when a component item was clicked
| id |
list.attachEvent("onItemClick", function(id, e, node){
var item = this.getItem(id);
//... some code here ...
});
The most common use case for such events is getting info about the component item that has just been clicked. It can be done with a common getItem method that requires item ID as parameter.