click action handler
webix.ui({
view:"button", click:"alert('handler');"
});
//or
function handler(){
alert('handler');
}
webix.ui({
view:"button", click:handler
});
Short alias for some.attachEvent("onItemClick", code);
Inside handler "this" points to the view object
Back to top