| clear.event.handlers {AnalysisPageServer} | R Documentation |
Clear the Handlers list for one Event
clear.event.handlers(registry, event)
registry |
EventRegistry |
event |
String. Name of the Event. |
Clear the Handlers list for one Event. Does not remove the Event from the EventRegistry.
Nothing good.
Brad Friedman
r <- new.event.registry()
add.event(r, "mouseclick")
add.event.handler(r, "mouseclick", function(x, y) message("Mouse clicked at coordinates (", x, ", ", y, ")"))
trigger.event(r, "mouseclick", x = 30, y = 50)
clear.event.handlers(r, "mouseclick")
trigger.event(r, "mouseclick", x = 30, y = 50)