Class: Browser::Event::Drag::Definition::Screen

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


27
28
29
# File 'opal/browser/event/drag.rb', line 27

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

#y=(value) ⇒ Object


31
32
33
# File 'opal/browser/event/drag.rb', line 31

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