Method: MiniGL::TextField#focus

Defined in:
lib/minigl/forms.rb

#focusObject

Grants focus to the text field, so that it allows keyboard input.



901
902
903
# File 'lib/minigl/forms.rb', line 901

def focus
  @active = true
end