Method: Browser::Position#x

Defined in:
opal/browser/utils.rb

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



6
7
8
# File 'opal/browser/utils.rb', line 6

def x
  @x
end