Interface: WidgetItem

WidgetApi.WidgetItem

Description

Data model for each menu item in the WidgetMenu

Properties

Properties

icon

Optionalicon: string

Name of the Relativity Web Components icon to use (e.g. "edit")


name

name: string

Name of the menu item


onClick

onClick: (...args: any[]) => any

Type declaration

▸ (...args): any

Callback function to execute once the element is clicked

Parameters
Name Type
...args any[]
Returns

any


type

type: string

Type of the item (e.g. "link")


value

Optionalvalue: string

Value of the item


visible

visible: boolean

If true, the item is visible in the menu