ItemDefBase Class

The base class for Items.

Extended by

Methods

Name Description
constructor(itemProps: ItemProps): ItemDefBase    
setDescription(v: string | StringGetter | ConditionalStringValue): void Set the description.  
setLabel(v: string | StringGetter | ConditionalStringValue): void Set the label.  
setTooltip(v: string | StringGetter | ConditionalStringValue): void Set the tooltip.  
initializeDef(me: ItemDefBase, itemProps: ItemProps): void Static    

Properties

Name Type Description
applicationData any | undefined    
badgeType BadgeType | undefined    
description Accessor ReadOnly string Get the description string  
iconElement ReactNode | undefined    
iconSpec IconSpec | undefined    
id Accessor Abstract ReadOnly string    
isActive Accessor boolean    
isDisabled boolean | ConditionalBooleanValue    
isHidden boolean | ConditionalBooleanValue    
isPressed boolean    
label Accessor ReadOnly string Get the label string  
rawLabel Accessor ReadOnly string | StringGetter | ConditionalStringValue Get the label string  
tooltip Accessor ReadOnly string Get the tooltip string  
trayId Accessor ReadOnly undefined    

Defined in

Last Updated: 01 May, 2024