click

click action handler

function click;

Example

webix.ui({
   view:"button", click:"alert('handler');"
});
//or
function handler(){
    alert('handler');
}
webix.ui({
   view:"button", click:handler
});

Details

Short alias for some.attachEvent("onItemClick", code);

Inside handler "this" points to the view object

Back to top