onKeyPress

occurs when keyboard key is pressed for the control in focus

void onKeyPress(number code,event e);
codenumberkey code
eeventevent object

Example

text.attachEvent("onKeyPress", function(code, e){
    //code
});

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of javascript gage product.