1681-engine / index / PointerLockDocument
Interface: PointerLockDocument ​
Defined in: src/platform/pointerLock.ts:8
The slice of Document used here; tests pass their own.
Properties ​
pointerLockElement? ​
ts
readonly optional pointerLockElement?: Element | null;Defined in: src/platform/pointerLock.ts:9
Methods ​
addEventListener() ​
ts
addEventListener(type, fn): void;Defined in: src/platform/pointerLock.ts:11
Parameters ​
| Parameter | Type |
|---|---|
type | string |
fn | () => void |
Returns ​
void
exitPointerLock()? ​
ts
optional exitPointerLock(): void;Defined in: src/platform/pointerLock.ts:10
Returns ​
void
removeEventListener() ​
ts
removeEventListener(type, fn): void;Defined in: src/platform/pointerLock.ts:12
Parameters ​
| Parameter | Type |
|---|---|
type | string |
fn | () => void |
Returns ​
void