Function getViewportRect

  • Returns a rect that bounds the visual viewport of a window.

    Returns DOMRect