focus()
Sets input focus on this element.
focus(): this;
Notes
- This method removes focus from the currently focused element if necessary, and then sends a
focusinevent. - Nothing happens if the element is already focused or if the element isn’t part of the currently rendered output (see isOutput()).
Related
class TestOutputElement
A class that represents a rendered output element.
