Class: Reflex::PointerEvent

Inherits:
Event
  • Object
show all
Extended by:
Forwardable
Includes:
Enumerable
Defined in:
lib/reflex/pointer_event.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



26
27
28
# File 'lib/reflex/pointer_event.rb', line 26

def inspect()
  "#<Reflex::PointerEvent id:#{id} #{types} #{action} (#{x.round 2}, #{y.round 2}) mod:#{modifiers} drag:#{drag?} click:#{click_count} view:#{view_index} time:#{time.round 2}>"
end

#pointersObject



22
23
24
# File 'lib/reflex/pointer_event.rb', line 22

def pointers()
  to_enum :each
end