Command Bar

The Angular Command Bar component is a user interface element that contains commands for interacting with the content of the window, panel, or parent region it overlays.

Basic command bar

Display a command bar with a list of commands:

Loading...

API Reference

emr-command-bar - the root component of the command bar. This component manages the state of the command bar.

PropTypeDefault
open
Whether to open (show) command bar.
boolean
position
CommandBarPosition: top | bottombottom

emr-command-bar-divider - the divider component of the command bar. This component is used to display a separator between commands.

emr-command-bar-command - the command component of the command bar. This component is used to display a command, as well as registering the keyboard shortcut.

PropTypeDefault
shortcut
The command's shortcut.
string