We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c2be1 commit df5805fCopy full SHA for df5805f
packages/web-components/src/menu-list/menu-list.ts
@@ -0,0 +1,23 @@
1
+import { Updates } from '@microsoft/fast-element';
2
+import { polyfill as focusgroupPolyfill } from '@microsoft/focusgroup-polyfill';
3
+import { BaseMenuList } from './menu-list.base';
4
+
5
+/**
6
+ * A MenuList Custom HTML Element.
7
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
8
+ *
9
+ * @tag fluent-menu-list
10
11
+ * @slot - The default slot for the menu items
12
13
+ * @public
14
+ */
15
+export class MenuList extends BaseMenuList {
16
+ public connectedCallback(): void {
17
+ super.connectedCallback();
18
19
+ Updates.enqueue(() => {
20
+ focusgroupPolyfill(this);
21
+ });
22
+ }
23
+}
0 commit comments