function sap/ui/dom/getScrollbarSize

Visiblity: public
Available since: N/A
Module: sap/ui/dom/getScrollbarSize
Application Component:

Returns the size (width of the vertical / height of the horizontal) native browser scrollbars.

This function must only be used when the DOM is ready.


Parameters Overview

Param Type Default Value Description
sClasses? string The CSS class that should be added to the test element.
bForce? boolean false Force recalculation of size (e.g. when CSS was changed). When no classes are passed all calculated sizes are reset.

Methods Overview

Method Description