From 01237ee3ef2ccc5d24492075cfd022d60167b310 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Sat, 29 Aug 2020 20:01:16 -0400 Subject: [PATCH] Clarify the active prop --- src/components/menu-item/menu-item.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/menu-item/menu-item.tsx b/src/components/menu-item/menu-item.tsx index 23504148e..9d997c83f 100644 --- a/src/components/menu-item/menu-item.tsx +++ b/src/components/menu-item/menu-item.tsx @@ -24,7 +24,11 @@ export class MenuItem { /** Set to true to draw the item in a checked state. */ @Prop({ reflect: true }) checked = false; - /** Set to true to draw the menu item in an active state. */ + /** + * Draws the menu in an active (i.e. or hover/focus), state to indicate the current menu selection. This is used in + * lieu of standard :hover and :focus states to prevent concurrent interactions from different devices, such as + * focusing with the keyboard and hovering with the mouse. + */ @Prop({ reflect: true }) active = false; /** A unique value to store in the menu item. */