Class: Hokusai::MouseUpEvent
- Inherits:
-
MouseEvent
- Object
- Event
- MouseEvent
- Hokusai::MouseUpEvent
- Defined in:
- ui/src/hokusai/events/mouse.rb
Instance Attribute Summary
Attributes inherited from MouseEvent
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from MouseEvent
#delta, #initialize, #left, #middle, #mouse, #pos, #right, #scroll, #scroll_delta, #to_json
Methods inherited from Event
#bubble, #matches, name, #name, #stop, #to_json
Constructor Details
This class inherits a constructor from Hokusai::MouseEvent
Instance Method Details
#capture(block, _) ⇒ Object
107 108 109 110 111 |
# File 'ui/src/hokusai/events/mouse.rb', line 107 def capture(block, _) if left[:up] && matches(block) captures << block end end |