BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function isInViewport

    • Checks if an element is within the viewport.

      Parameters

      • element: HTMLElement

        The element to check.

      Returns boolean

      True if the element is in the viewport, false otherwise.