mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
added EventDispatcher mixins
This commit is contained in:
Vendored
+7
-1
@@ -38,5 +38,11 @@ declare module THREE {
|
||||
mouseButtons: { ORBIT: MOUSE; ZOOM: MOUSE; PAN: MOUSE; };
|
||||
|
||||
update():void;
|
||||
|
||||
// EventDispatcher mixins
|
||||
addEventListener(type: string, listener: (event: any) => void ): void;
|
||||
hasEventListener(type: string, listener: (event: any) => void): void;
|
||||
removeEventListener(type: string, listener: (event: any) => void): void;
|
||||
dispatchEvent(event: { type: string; target: any; }): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user