Method: MiniGL::TextField#unfocus
- Defined in:
- lib/minigl/forms.rb
#unfocus ⇒ Object
Removes focus from the text field, so that no keyboard input will be accepted.
910 911 912 913 914 915 |
# File 'lib/minigl/forms.rb', line 910 def unfocus @anchor1 = @anchor2 = nil @cursor_visible = false @cursor_timer = 0 @active = false end |