onAvatarClick
fires on clicking an avatar in the item
boolean onAvatarClick(string itemId,Event ev,HTMLElement node,object list);
itemId | string | the id of the clicked item |
ev | Event | a native event object |
node | HTMLElement | the target HTML element |
list | object | the list object where click has happened |
boolean | if the event handler returns false, onListItemClick will not be called |
Example
$$("myBoard").attachEvent("onAvatarClick", function(itemId,ev,node,list){
// your code
var personId = this.getItem(id).personId;
});
Related samples
Back to top