Assigns a delegate to the scroll event.
public final void addOnScroll( EventHandler h )
h
The EventHandler delegate to be notified when the event occurs.
The delegate specifies a method that is called when the current element is scrolled.
See Also removeOnScroll