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 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    
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: 22 March, 2024