setEventHandler
setEventHandler(int eventType, String handler) function
Sets event handler for the shape
Parameters
| Name | Type | Description |
|---|---|---|
| eventType | int | Type of event. |
| handler | String | Javascript function to handle event. Null value removes handler. |
Sets event handler for the shape
| Name | Type | Description |
|---|---|---|
| eventType | int | Type of event. |
| handler | String | Javascript function to handle event. Null value removes handler. |