You can read about the ‘type’ option here.
The ‘invoke’ option is not recommended, you should use the @Subscribe on Action.ActionPerformedEvent instead. The screen designer does not allow generating this code yet, use instead Event handling from controller.