onShapeEvents([callback], [remove])
Class: Window.
Description:
Gets, registers, and unregisters and event handler for shapes events, when shape is added, removes and pointer interaction with shapes.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
function |
Event handler callback function that accepts an event Object |
|
|
|
boolean |
false |
Set to |
Returns:
Returns an array of previously set handler functions if no arguments are provided, otherwise returns this Window component.
Type: Window | Array.<function()>
