IconHelper Class

Icon Helper Class used to store the data needed to generate an for use in any control that shows an icon.

Methods

Name Description
constructor(): IconHelper    
getIconData(iconSpec: IconSpec, internalData?: Map<string, any>): string | ConditionalStringValue Static Returns an icon definition that can be stored in an abstract item definition.  
getIconReactNode(icon: ReactNode | ConditionalIconItem | ConditionalStringValue, internalData?: Map<string, any>): ReactNode Static Returns an ReactNode from the many ways an icon can be specified.  

Properties

Name Type Description
conditionalIconItemKey Accessor Static ReadOnly string    
reactIconKey Accessor Static ReadOnly string    

Defined in

Last Updated: 13 May, 2024