Keyboard Shortcut
Runs an action when a key is pressed with Ctrl or ⌘ anywhere on the page.
Press Ctrl+M (⌘M on macOS). Pressed 0 times.
KeyboardShortcut is the sidebar's Ctrl+B shortcut on its own. It listens on the whole page, stops the browser's own handling of the
keys by default, and renders nothing.
Anatomy
@using Blazix.Primitives
<KeyboardShortcut Key="b" OnPressed="ToggleSidebar" />API Reference
KeyboardShortcut
Doesn't render its own HTML element.