Nano WebGPU API - v0.11.0
    Preparing search index...

    Type Alias MouseMode

    MouseMode: "visible" | "captured"

    Specifies the behavior of the cursor within the viewport.

    • "visible": The default mouse pointer mode, cursor is visible and free.
    • "captured": Locks and hides the cursor within the target canvas using the Pointer Lock API.