Implements standalone scrollbar input element.
that have this behavior applied by default:
<widget|vscrollbar /> and <widget|hscrollbar /> - vertical and horizontal scrollbarsthat this behavior knows about:
for="selector" - declares that this scrollbar is bound to other scrollable element as its (external) scrollbar.Sets values of scrollbar element - position, min, max, page - reflects to size of scrollbar slider, step - increment value of on arrow buttons clicks.
integer, reflects position of slider, integer in range [min ... max].
Along with the standard set of events (mouse, keyboard, focus) behavior: scrollbar generates:
Events are delivered to the element and are bubbling up to its parents. Use element.onScroll = function(evt) {} handler in script to handle scroll events.