@umbraco-ui/uui-keyboard-shortcut
TypeScript icon, indicating that this package has built-in type declarations

1.7.0 • Public • Published

uui-keyboard-shortcut

npm

See it in action

Preview the component on Storybook

Installation

ES imports

npm i @umbraco-ui/uui-keyboard-shortcut

Import the registration of <uui-keyboard-shortcut> via:

import '@umbraco-ui/uui-keyboard-shortcut';

When looking to leverage the UUIKeyboardShortcutElement base class as a type and/or for extension purposes, do so via:

import { UUIKeyboardShortcutElement } from '@umbraco-ui/uui-keyboard-shortcut';

Usage

<uui-keyboard-shortcut>
  <uui-key>ALT</uui-key>
  +
  <uui-key>shift</uui-key>
  +
  <uui-key>&#8593;</uui-key>
  +
  <uui-key>z</uui-key>
</uui-keyboard-shortcut>

Package Sidebar

Install

npm i @umbraco-ui/uui-keyboard-shortcut

Weekly Downloads

392

Version

1.7.0

License

MIT

Unpacked Size

7.81 kB

Total Files

8

Last publish

Collaborators

  • warrenbuckley.umbraco
  • ijacob
  • nielslyngsoe
  • umbraco-publish
  • madsrasmussen
  • julczka