Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100882784
MenuList.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 3, 14:27
Size
2 KB
Mime Type
text/x-java
Expires
Wed, Feb 5, 14:27 (2 d)
Engine
blob
Format
Raw Data
Handle
24050347
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
MenuList.d.ts
View Options
import * as React from 'react';
import { ExtendList, ExtendListTypeMap } from '../List';
import { OverrideProps } from '../OverridableComponent';
export type MenuListTypeMap<P = {}, D extends React.ElementType = 'ul'> = ExtendListTypeMap<{
props: P & {
/**
* If `true`, will focus the `[role="menu"]` container and move into tab order.
* @default false
*/
autoFocus?: boolean;
/**
* If `true`, will focus the first menuitem if `variant="menu"` or selected item
* if `variant="selectedMenu"`.
* @default false
*/
autoFocusItem?: boolean;
/**
* MenuList contents, normally `MenuItem`s.
*/
children?: React.ReactNode;
/**
* If `true`, will allow focus on disabled items.
* @default false
*/
disabledItemsFocusable?: boolean;
/**
* If `true`, the menu items will not wrap focus.
* @default false
*/
disableListWrap?: boolean;
/**
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
* and the vertical alignment relative to the anchor element.
* @default 'selectedMenu'
*/
variant?: 'menu' | 'selectedMenu';
};
defaultComponent: D;
}>;
export type MenuListClassKey = keyof NonNullable<MenuListTypeMap['props']['classes']>;
/**
* A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menubutton/.
* It's exposed to help customization of the [`Menu`](https://mui.com/material-ui/api/menu/) component if you
* use it separately you need to move focus into the component manually. Once
* the focus is placed inside the component it is fully keyboard accessible.
*
* Demos:
*
* - [Menu](https://mui.com/material-ui/react-menu/)
*
* API:
*
* - [MenuList API](https://mui.com/material-ui/api/menu-list/)
* - inherits [List API](https://mui.com/material-ui/api/list/)
*/
declare const MenuList: ExtendList<MenuListTypeMap>;
export type MenuListProps<
D extends React.ElementType = MenuListTypeMap['defaultComponent'],
P = {},
> = OverrideProps<MenuListTypeMap<P, D>, D>;
export default MenuList;
Event Timeline
Log In to Comment