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