Class: Browser::Event::Drag::Definition::Client

Inherits:
Object
  • Object
show all
Includes:
Native
Defined in:
lib/diamonds/opal/browser/event/drag.rb

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object



13
14
15
# File 'lib/diamonds/opal/browser/event/drag.rb', line 13

def x=(value)
  `#@native.clientX = #{value}`
end

#y=(value) ⇒ Object



17
18
19
# File 'lib/diamonds/opal/browser/event/drag.rb', line 17

def y=(value)
  `#@native.clientY = #{value}`
end