diff --git a/components/lib/menu/Menu.d.ts b/components/lib/menu/Menu.d.ts index f2c997dfe..871456471 100755 --- a/components/lib/menu/Menu.d.ts +++ b/components/lib/menu/Menu.d.ts @@ -119,6 +119,14 @@ export interface MenuState { * Defines current options in Menu component. */ export interface MenuContext { + /** + * Current menuitem + */ + item: any; + /** + * Current index of the menuitem. + */ + index: number; /** * Current focused state of menuitem as a boolean. * @defaultValue false diff --git a/components/lib/menu/Menu.vue b/components/lib/menu/Menu.vue index 8d57cdf0d..bd23b71b9 100644 --- a/components/lib/menu/Menu.vue +++ b/components/lib/menu/Menu.vue @@ -30,7 +30,7 @@
-