Class: Reflex::FocusEvent
- Inherits:
-
Event
- Object
- Event
- Reflex::FocusEvent
- Defined in:
- lib/reflex/focus_event.rb
Instance Method Summary collapse
Instance Method Details
#blur? ⇒ Boolean
25 26 27 |
# File 'lib/reflex/focus_event.rb', line 25 def blur? () get_type == TYPE_BLUR end |
#focus? ⇒ Boolean
21 22 23 |
# File 'lib/reflex/focus_event.rb', line 21 def focus? () get_type == TYPE_FOCUS end |
#inspect ⇒ Object
29 30 31 |
# File 'lib/reflex/focus_event.rb', line 29 def inspect () "#<Reflex::FocusEvent type:#{type} current:#{current} last:#{last}>" end |