SheetXL - v1.0.2
    Preparing search index...

    Function isVirtualKeyboardUp

    • Whether a virtual keyboard is up, read from the visual viewport (the part of the page the keyboard leaves visible). Pinch zoom shrinks the visual viewport too, so its scale is undone first. While a keyboard overlays the page (the browser's VirtualKeyboard API with overlaysContent, as a KeyboardAccessory sets it), the browser's own report of the keyboard is read instead.

      Parameters

      • Optionalbaseline: number

        The layout height to measure against, in px. Defaults to window.innerHeight; pass the height read before the keyboard rose where the page may shrink with it (a host whose viewport asks for interactive-widget=resizes-content).

      Returns boolean