getFocus

retrieves the view which has focus

object getFocus();
objectthe view object

Example

var obj = webix.UIManager.getFocus();
obj.define('width', 300); //to resize the view in focus

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.