set_event_handler method

set_event_handler

Sets event handler for the shape

def set_event_handler(self, event_type, handler):
    ...
ParameterTypeDescription
event_typeSvgEventType of event.
handlerstrJavascript function to handle event. Null value removes handler.

See Also