action
The selector the status item sends to its target when someone clicks the status item.
Declaration
var action: Selector? { get set }Discussion
If the status item has a menu set, clicking the status item doesn’t send the action to the target; instead, the click causes the menu to appear.