StatusBarActionItem Interface

Describes the data needed to insert an action item into the status bar.

Extends

Properties

Name Type Description
execute Readonly () => void method to execute when icon is pressed  
icon Readonly IconSpec | undefined Icon of a status bar item. Deprecated  
iconNode Readonly React.ReactNode | undefined Icon of a status bar item.  
label Readonly string | ConditionalStringValue Label.  
tooltip Readonly string | ConditionalStringValue tooltip.  

Inherited properties

Name Type Inherited from Description
badge Readonly BadgeType | undefined CommonStatusBarItem Describes badge.
badgeKind Readonly BadgeKind | undefined CommonStatusBarItem Specifies the kind of badge, if any, to be rendered.
id Readonly string CommonStatusBarItem Required unique id of the item.
isDisabled Readonly boolean | ConditionalBooleanValue CommonStatusBarItem Describes if the item is enabled or disabled.
isHidden Readonly boolean | ConditionalBooleanValue CommonStatusBarItem Describes if the item is visible or hidden.
itemPriority Readonly number CommonStatusBarItem Priority within a section (recommend using values 1 through 100).
section Readonly StatusBarSection CommonStatusBarItem status bar section

Defined in

Last Updated: 17 December, 2024