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

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object



12
13
14
# File 'opal/browser/event/mouse.rb', line 12

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

#y=(value) ⇒ Object



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

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