import { EventDispatcher } from "https://deno.land/x/threejs_4_deno@v121/src/core/EventDispatcher.js";
JavaScript events for custom objects
Methods
addEventListener(type: string, listener: (event: Event) => void): void
Adds a listener to an event type.
hasEventListener(type: string, listener: (event: Event) => void): boolean
Checks if listener is added to an event type.
removeEventListener(type: string, listener: (event: Event) => void): void
Removes a listener from an event type.