clear.event.handlers {AnalysisPageServer} | R Documentation

## clear.event.handlers

### Description

Clear the Handlers list for one Event

### Usage

    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

    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)

[Package AnalysisPageServer version 1.21.0 Index]