Gets the scroll position of the viewport.
()
| 1546 | |
| 1547 | /** Gets the scroll position of the viewport. */ |
| 1548 | private _getViewportScrollPosition() { |
| 1549 | return ( |
| 1550 | this._parentPositions.positions.get(this._document)?.scrollPosition || |
| 1551 | this._parentPositions.getViewportScrollPosition() |
| 1552 | ); |
| 1553 | } |
| 1554 | |
| 1555 | /** |
| 1556 | * Lazily resolves and returns the shadow root of the element. We do this in a function, rather |
no test coverage detected