Method: MiniGL::TextField#focus

Defined in:
lib/minigl/forms.rb

#focusObject

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



886
887
888
# File 'lib/minigl/forms.rb', line 886

def focus
  @active = true
end