clear.event.handlers: clear.event.handlers

Description Usage Arguments Details Value Author(s) Examples

View source: R/event.registry.R

Description

Clear the Handlers list for one Event

Usage

1
clear.event.handlers(registry, event)

Arguments

registry

EventRegistry

event

String. Name of the Event.

Details

Clear the Handlers list for one Event. Does not remove the Event from the EventRegistry.

Value

Nothing good.

Author(s)

Brad Friedman

Examples

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)

AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.