scroll
Type Object
Returns the current container's scroll dimensions.
Syntax
instance.scroll
Default value
{
x: // the current horizontal scroll position
y: // the current vertical scroll position
max: {
x: // the maximum horizontal scroll in px
y: // the maximum vertical scroll in px
}
}