Description Usage Arguments Details Value Author(s) Examples
Clear the Handlers list for one Event
1 | 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
1 2 3 4 5 6 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.