How to know whether the key that I pressed is released ?

How to know whether the key that I pressed is released ? Is there any event gives the information that the key is released?
For Example :
text.attachEvent(“onKeyPress”, function(code, e){
//code
});

I need similar kind of event for key release or any equivalent/alternative approach?

There is no a Webix-specific solution.
You can use native HTML events

webix.event(text.$view, "keyup", function(ev){ .. });