WidgetApi.WidgetItem
Description
Data model for each menu item in the WidgetMenu
Properties
Properties
icon
Name of the Relativity Web Components icon to use (e.g. "edit")
name
Name of the menu item
onClick
- onClick: (...
args
: any
[]) => any
Type declaration
Callback function to execute once the element is clicked
Parameters
Returns
any
type
Type of the item (e.g. "link")
value
Value of the item
visible
If true, the item is visible in the menu