A set of methods for setting and retrieving the editor's scrollbar.
ScrollBar[edit]
Constructors
- new ScrollBar(DOMElement parent)
Creates a new ScrollBar. parent is the owner of the scroll bar.
Creates a new ScrollBar. parent is the owner of the scroll bar.
Arguments
| parent | DOMElement | Required. A DOM element |
Events
- ScrollBar.on("onScroll", function())
Emitted when the scroll bar, well, scrolls.
Emitted when the scroll bar, well, scrolls.
Methods
- ScrollBar.getWidth()
Returns the width of the scroll bar.
Returns the width of the scroll bar.