Optional ReadonlyiconIcon of the menu entry.
ReadonlyidThis action's unique id.
Optional ReadonlylabelA textual label (or title) for this action.
Optional ReadonlylabelLabel for the "show more" link.
Optional ReadonlytruncationThreshold that defines when to auto shorten the text and provide a "show more" link instead.
If set to -1 text is never truncated.
ReadonlytypeThe type of this action.
OptionalisReturns true if the action shall be available for the given item.
Should return false otherwise.
Note that this method may be asynchronous (i.e. return a Promise<boolean>).
OptionaltriggerCalled when the "show more" link is clicked. Must be implemented if truncationThreshold is used.
An action definition that provides a text label.