Minor Changes
-
BREAKING CHANGE: Interaction setup functions now receive
handleas a parameter instead of usingthiscontextInteraction setup functions now receive the
Interactionhandle as a parameter:// Before function MyInteraction(this: Interaction) { this.on(this.target, { ... }) } // After function MyInteraction(handle: Interaction) { handle.on(handle.target, { ... }) }
This change affects all custom interactions created with
defineInteraction().