Event callbacks for canvas operations.
Triggered when the module is destroyed.
Triggered when the module's properties are updated. Receives the diff (changed keys and new values) as the first argument.
Fires when the canvas is resized.
Event callbacks for canvas operations.