Rhope Documentation

Documentation Home > Button > Set Handler

Set Handler@Button

Sets a worker to handle events received by the button. In the current implementation, buttons only receive "click" events.

Input Type Description
Button The button to set a handler on
String Name of the event
Worker The worker to call when the event occurs

Output Type Description
Button The modified button