Scrollbox

Scrollbox

new Scrollbox(e)

Description:
  • Scrollbox UI element class. Use data-scrollboxname HTML tag to set element name.
Source:
Parameters:
Name Type Description
e

Methods

doScrollToEnd()

Description:
  • Sets srollbar to end position.
Source:

doUpdateScrollbar()

Description:
  • Update scrollbar on this scrollbox.
Source:

getScrollbox() → {*}

Description:
  • Get scrollbox object.
Source:
Returns:
Type
*

isScrollOnEnd() → {boolean}

Description:
  • Checks if scrollbar is at its end position.
Source:
Returns:
Type
boolean

setScrollPosition(position)

Description:
  • Sets scrollbar to specified position.
Source:
Parameters:
Name Type Description
position