When I attach a onfocus or onblur event to a button, these events are not triggered. I guess they are blocked by the webix code. But how to listen to button focus and blur events.
This code is not working:
$$('evaluate_button').attachEvent('onFocus' /* or 'onBlur' */, console.log);
And this isn’t working either:
webix.event($$('evaluate_button').getInputNode(), 'focus', console.log);
Neither using ‘focus’, ‘onfocus’, or ‘onFocus’. Also, blur isn’t working. But using
mouseover, it works. Only I need focus and blur to tell whether a button received and lost focus.