Assign handler to default event

Description

The default event is specified in the definition of the object. Using this function allows one to have a "generic" name for adding a handler.

Usage

1

Arguments

x

the object

...

Used to pass through handler, and action values. The handler is a function whose first argument is a list that contains components obj to return the object and action, holding the action value, and possibly others.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.