Skip to content

Commit

Permalink
feature: Add stopListenToKeyEvents to OrbitControls
Browse files Browse the repository at this point in the history
  • Loading branch information
0b5vr committed Mar 13, 2023
1 parent ef0f721 commit 0532c6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/three/examples/jsm/controls/OrbitControls.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ export class OrbitControls {

listenToKeyEvents(domElement: HTMLElement | Window): void;

/**
* Removes the key event listener previously defined with {@link listenToKeyEvents}.
*/
stopListenToKeyEvents(): void;

saveState(): void;

reset(): void;
Expand Down

0 comments on commit 0532c6c

Please sign in to comment.