Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function focusCanvas

    • Focus the canvas for keyboard/mouse interaction.

      Dismisses the dataset browser if visible, then clicks the canvas. Use this instead of bare page.click('canvas') which can timeout when the dataset browser modal intercepts pointer events.

      Parameters

      • page: Page

        Playwright page

      Returns Promise<void>