Clarify the active prop

pull/196/head
Cory LaViska 2020-08-29 20:01:16 -04:00
rodzic e51490b71c
commit 01237ee3ef
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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. */