FML/Controls/Control.php
public function addActionTriggerFeature($actionName, $eventLabel = ScriptLabel::MOUSECLICK)
    {
        $actionTrigger = new ActionTrigger($actionName, $this, $eventLabel);
        $this->addScriptFeature($actionTrigger);
        return $this;
    }
public function addActionTriggerFeature($actionName, $eventLabel = ScriptLabel::MOUSECLICK)
    {
        $actionTrigger = new ActionTrigger($actionName, $this, $eventLabel);
        $this->addScriptFeature($actionTrigger);
        return $this;
    }
public function addActionTriggerFeature ( $ actionName , $ eventLabel = ScriptLabel :: MOUSECLICK ) { $ actionTrigger = new ActionTrigger ( $ actionName , $ this , $ eventLabel ) ; $ this -> addScriptFeature ( $ actionTrigger ) ; return $ this ; }
Add a dynamic Action Trigger

@api
@param string $actionName Action to trigger
@param string $eventLabel (optional) Event on which the action is triggered
@return static
Add a dynamic Action Trigger