Returns information about the window.
The getBoundingRect()
function returns a Promise that resolves to an object
containing information about the current window's size, the document's size,
and the current scroll position.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.