Class: Browser::Event::Mouse::Definition::Layer

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object


24
25
26
# File 'opal/browser/event/mouse.rb', line 24

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

#y=(value) ⇒ Object


28
29
30
# File 'opal/browser/event/mouse.rb', line 28

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