API Reference > ui-framework > Item > ItemDefBase ItemDefBase Class The base class for Items. Extended by KeyboardShortcut ActionButtonItemDef Task Workflow Methods Name Description constructor(itemProps: ItemProps): ItemDefBase setDescription(v: string | ConditionalStringValue | StringGetter): void Set the description. setLabel(v: string | ConditionalStringValue | StringGetter): void Set the label. setTooltip(v: string | ConditionalStringValue | StringGetter): void Set the tooltip. initializeDef(me: ItemDefBase, itemProps: ItemProps): void Static Properties Name Type Description applicationData undefined | any badgeType undefined | BadgeType description Accessor ReadOnly string Get the description string iconElement undefined | ReactNode iconSpec undefined | IconSpec id Accessor AbstractReadOnly string isActive Accessor boolean isDisabled boolean | ConditionalBooleanValue isEnabled boolean Deprecated isHidden boolean | ConditionalBooleanValue isPressed boolean isVisible boolean Deprecated label Accessor ReadOnly string Get the label string rawLabel Accessor ReadOnly string | ConditionalStringValue | StringGetter Get the label string stateFunc undefined | (state: Readonly<BaseItemState>) => BaseItemState stateSyncIds string[] Deprecated tooltip Accessor ReadOnly string Get the tooltip string trayId Accessor ReadOnly undefined Defined in ui/framework/src/ui-framework/shared/ItemDefBase.ts Line 28 Last Updated: 11 June, 2024