mirror of
https://github.com/material-components/material-web.git
synced 2024-11-10 11:21:43 +03:00
193b220a73
Prepare menu to support md-select by doing the following: - Export default values for typeahead configs - Allow setting the role of the menu - Support spaces in typeahead - Make the typeahead controller public so that one can bind it to another node - Listen to keydown events on capture rather than bubble - Allow disabling typeahead with events to prevent submenu typeahead clashes - Fire opening and closing events synchronously on quick = true - Fix focus restoration timing as it would fight with setting custom focus on items - Fix bug with `onWindowClick` not cleaning up - Add `focus()` as mart of the menuitem api - Prevent typeahead from messing with focus and leave that to the menu/list PiperOrigin-RevId: 516640007 |
||
---|---|---|
.. | ||
menuitem | ||
menuitemlink | ||
submenuitem | ||
_menu.scss | ||
menu-styles.scss | ||
menu.ts | ||
shared.ts | ||
surfacePositionController.ts | ||
typeaheadController.ts | ||
types.ts |