forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Menu] Add onFocusIndexChange property
Add a callback property that is called whenever the MenuItem focus is changed. Sometimes it will be called when the focus isn't changed. For example: * If top menu item is keyboard focused (call mui#1) and then the up arrow is pressed (call mui#2). * If some menu item is keyboard focused (call mui#1) and then that same menu item is clicked (call mui#2).
- Loading branch information
1 parent
4d5de14
commit 69d07ab
Showing
2 changed files
with
126 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters