setActionHandler abstract method

void setActionHandler(
  1. String name,
  2. ActionHandler handler
)

Assigns a handler function to an action with a given name.

If the action is invoked, the handler function will be called to handle the interaction.

Implementation

void setActionHandler(String name, ActionHandler handler);