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

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object


15
16
17
# File 'opal/browser/event/drag.rb', line 15

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

#y=(value) ⇒ Object


19
20
21
# File 'opal/browser/event/drag.rb', line 19

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