Skip to main content

Methods

MethodsDescription
Get Max Scrollreturns max scroll values to reach bottom right boundaries.
pannable.getMaxScroll(); returns max scroll values to reach bottom right boundaries.
Scroll Toscrolls to a specific position.
pannable.scrollTo(left, top, animate, duration, easing, callback);
pannable.scrollTo(200, 200, true, 3000, true);
Get Current PositionReturn positions (left, top, offset) pixels and percentages.
pannable.getCurrentPosition()