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.
Display a command bar with a list of commands:
emr-command-bar
- the root component of the command bar. This component manages the state of the command bar.
Prop | Type | Default |
---|---|---|
open Whether to open (show) command bar. | boolean | – |
position | CommandBarPosition: top | bottom | bottom |
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.
Prop | Type | Default |
---|---|---|
shortcut The command's shortcut. | string | – |