Class: Browser::Event::Mouse::Definition::Client

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object


16
17
18
# File 'opal/browser/event/mouse.rb', line 16

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

#y=(value) ⇒ Object


20
21
22
# File 'opal/browser/event/mouse.rb', line 20

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