onKeyPress

occurs when keyboard key is pressed for the control in focus

void onKeyPress(number code,event e){ ... };

Parameters

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 framework and page of scroll layout product.