onAction abstract method

RemoveListener onAction(
  1. ActionListener listener
)

Subscribes listener to every action triggered by the view or its children. This method returns a function that, when called, undoes the subscription (removes the listener).

Implementation

RemoveListener onAction(ActionListener listener);