hello webix team,
onTimedKeyPress doesn’t receive any parameters.so how to get keycode on “onTimedKeyPress” event?
Hello,
Please check the related discussion
@Nastja, In my case i dont want to perform any action on special key press (i.e. ctrl, shift, esc etc.) rather alphabetical & numerical, special character key.
snippet:
https://snippet.webix.com/0akfbmzy
You can try to use onKeyPress event
@Nastja now I am using “search” component. so I want event which fires after key press. onKeyPress gives me the value which is before key Press.
The onTimedKeyPress
event is just the same onKeyPress
event but with a 250-ms timeout.
So you can freely use it, read the information from key
and event
parameters and perform the required actions with another timeout: https://snippet.webix.com/p9yikepr
@Helga onKeyPress on every key press event fire but onTimedKeyPress after text typing finish event fires so only once it call .but onKeyPress it call every key press that I don’t want .
snippet:https://snippet.webix.com/4gnfbkps
In the above snippet both event added , first comment alert in onKeyPress then try run next comment alert in onTimedKeyPress and uncomment alert in onKeyPress and see the difference.
I want a solution for “search” component, in which event fires after text typing finish only once.with the keyCode.
Please provide the solution if it is possible.
Thanks @intregal this is what i want.