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

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object


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

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

#y=(value) ⇒ Object


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

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