on Document Scrolled
Called whenever the document in the fragment scrolled. Values are expressed in an arbitrary unit and may change with every call. Also maxX
and maxY
are not guaranteed to remain the same between two calls.
Parameters
curr X
Current scroll amount X.
curr Y
Current scroll amount Y.
max X
Maximum scroll amount of the X dimension.
max Y
Maximum scroll amount of the Y dimension.
extend X
Extend of the visible content in the X dimension.
extend Y
Extend of the visible content in the Y dimension.