ItemDefBase Class

The base class for Items.

Extended by

Methods

Name Description
constructor(itemProps: ItemProps): ItemDefBase    
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    
betaBadge boolean    
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

Last Updated: 10 September, 2019