handler

Function

item handler on item click.

Example


{
  type: 'button',
  text: 'Add',
  handler: function(){}
}