Method: Browser::DOM::Element::Scroll#height

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

#heightInteger (readonly)

Returns the height of the scroll.

Returns:

  • (Integer)

    the height of the scroll



144
145
146
# File 'opal/browser/dom/element/scroll.rb', line 144

def height
  `#@scrolling_native.scrollHeight`
end