hasFocus

checks whether the specified view has focus

boolean hasFocus(id id);
ididthe ID of the view to check
booleantrue, the view is in focus. Otherwise, false.

Example

webix.UIManager.hasFocus($$('books'));

Back to top