Elementals.js

Latest Version: 3.0 RC 1 17 July 2017

Method _.Metrics.Scroll.maxX

Summary:

Returns maximum scrolling distance on the X axis that will have any effect.

Calling Convention:
_.Metrics.Scroll.maxX(Element)
Parameters:
Element
The element you want the maximum scroll distance across of.
Returns:
The maximum horizontal scrolling distance in pixels

Advertisement