Scrolls toolbar items if they overflow.
scroll(direction)
direction |
string, direction of scrolling |
Returns
undefined.
Description
Scrolling will only be applied of the container where tabs are displayed is smaller then rendered tabs. The
direction
argument can be either 'left' or 'right'.
If you have toolbar defined in the following way:
You can trigger scroll in the following way: