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