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
focusin
event. - Nothing happens if the element is already focused or if the element isn’t part of the currently rendered output (see isOutput()).
Related
- class TestOutputElementA class that represents a rendered output element.