This is UXP wrapper for `@spectrum-web-components/menu` package
-
For detailed README regarding
@spectrum-web-components/menu
refer this link -
Detailed specification regarding
@spectrum-web-components/menu
support in UXP through@swc-uxp-wrappers/menu
refer this link
yarn add @swc-uxp-wrappers/menu
Import the side effectful registration of <sp-menu>
via:
import '@swc-uxp-wrappers/menu/sp-menu.js';
When looking to leverage the Menu
base class as a type and/or for extension purposes, do so via:
import { Menu } from '@swc-uxp-wrappers/menu';
<sp-menu></sp-menu>
- Multi select variant does not work
- Submenu is not supported
- Performance issue observed when one clicks multiple times on a menu item