Nano WebGPU API - v0.11.0
Preparing search index...
MouseMode
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.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Nano WebGPU API - v0.11.0
Loading...
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.