up.viewport.root
JavaScript property
Returns the scrolling element for the browser's main content area.
Value
root
Type: Element
JavaScript property
Returns the scrolling element for the browser's main content area.
Tip Your coding agent can search these docs locally with the Unpoly agent skill