canFocus

checks whether the view can be focused

boolean canFocus(id id);
ididthe id of the view in question
booleantrue if the specified view can take focus. Otherwise, false

Example

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

Details

The function helps single out currently disabled and hidden views on the page. They cannot take focus and should be enabled (shown back) to acquire focusing ability.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.