Optional
Readonly
iconIcon of the menu entry.
Readonly
idThis action's unique id.
Optional
Readonly
labelA textual label (or title) for this action.
Optional
Readonly
labelLabel for the "show more" link.
Optional
Readonly
truncationThreshold that defines when to auto shorten the text and provide a "show more" link instead.
If set to -1 text is never truncated.
Optional
isReturns 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>
).
Optional
triggerCalled when the "show more" link is clicked. Must be implemented if truncationThreshold is used.
Returns a text representation for the given item.
Generated using TypeDoc
An action definition that provides a text label.