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

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object



25
26
27
# File 'opal/browser/event/drag.rb', line 25

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

#y=(value) ⇒ Object



29
30
31
# File 'opal/browser/event/drag.rb', line 29

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