This site is currently undergoing maintenance, so instances of "RelativityOne" may still be present. You may also experience 404 errors, search disruptions, and temporary style changes.

Last date modified: 2026-Sep-09

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

Feedback