CreatorAPI.off
Removes an event listener
CreatorAPI.off() method
Removes an event listener
Signature:
off<T extends CreatorEventName>(type: T, callback: (data: CreatorEventData<T>) => void): void;Parameters
Parameter | Type | Description |
|---|---|---|
type | T | The event type to stop listening for |
callback | (data: CreatorEventData<T>) => void | The callback function to remove |
Returns:
void
Example
creator.off("selection:nodes", callback);Last updated: August 13, 2026 at 9:17 AMEdit this page