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 component library and page of javascript custom context menu product.