Method: Browser::DOM::Element#scroll

Defined in:
opal/browser/dom/element.rb

#scrollScroll (readonly)

Returns the scrolling for the element.

Returns:

  • (Scroll)

    the scrolling for the element



330
331
332
# File 'opal/browser/dom/element.rb', line 330

def scroll
  Scroll.new(self)
end