ScrollPane
Component defined in packages/scroll-pane/ScrollPane.js#31 inherits from

Wraps content in a scroll pane.

Props
scrollbarTypeString

'native' or 'substance' for a more advanced visual scrollbar. Defaults to 'native'

Example
$$(ScrollPane, {
  scrollbarType: 'substance', // defaults to native
  scrollbarPosition: 'left', // defaults to right
  onScroll: this.onScroll.bind(this),
  highlights: this.contentHighlights,
  tocProvider: this.tocProvider
})

Returns the height of scrollPane (inner content overflows)

Returns the cumulated height of a panel's content

Get the .se-content element

Get the .se-scrollable element

Get current scroll position (scrollTop) of .se-scrollable element

Get offset relative to .se-content.

Parameters
elDOMNode

DOM node that lives inside the

Scroll to a given sub component.

Parameters
componentIdString

component id, must be present in data-id attribute