Edit this page

up.viewport up.viewport.get(target)
JavaScript function

Returns the scrolling container for the given element.

Returns the document's scrolling element if no closer viewport exists.


Parameters

target
required

Return value