src code

class method Form.Element.focus

Form.Element.focus(element) → Element

Gives keyboard focus to an element. Returns the element.