A contribution to a cell's status bar

Constructor

new(text:String, alignment:NotebookCellStatusBarAlignment)

Creates a new NotebookCellStatusBarItem.

Parameters:

text

The text to show for the item.

alignment

Whether the item is aligned to the left or right.

Variables

accessibilityInformation:Null<AccessibilityInformation>

Accessibility information used when a screen reader interacts with this item.

alignment:NotebookCellStatusBarAlignment

Whether the item is aligned to the left or right.

command:Null<EitherType<String, Command>>

An optional {@linkcode Command} or identifier of a command to run on click.

The command must be {@link commands.getCommands known}.

Note that if this is a {@linkcode Command} object, only the {@linkcode Command.command command} and {@linkcode Command.arguments arguments} are used by the editor.

priority:Null<Int>

The priority of the item. A higher value item will be shown more to the left.

text:String

The text to show for the item.

tooltip:Null<String>

A tooltip to show when the item is hovered.