hasFocus

checks whether the specified view has focus

boolean hasFocus(id id);

Parameters

ididthe ID of the view to check

Returns

booleantrue, the view is in focus. Otherwise, false.

Example

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

Back to top