Programmatically sets focus on the specified HTML element.
The HTML element to receive focus.
MDN Documentation for HTMLElement.focus()
// Get an input element by its IDconst inputElement = ix.api.dom.getHtml("<ELEMENT-GUID>");// Set focus on the input elementix.api.dom.focus(inputElement); Copy
// Get an input element by its IDconst inputElement = ix.api.dom.getHtml("<ELEMENT-GUID>");// Set focus on the input elementix.api.dom.focus(inputElement);
Programmatically sets focus on the specified HTML element.