Skip to main content

Module menu

Module menu 

Source
Expand description

操作菜单:「⋯」等按钮触发的一列操作。

Structs§

MenuItem
菜单里的一项。id 回传给 on_select,用于区分点了哪一项。
MenuProps
Props for the Menu component.
MenuRowProps 🔒
Props for the MenuRow component.

Statics§

MENU_ID 🔒

Functions§

Menu
图标按钮触发的操作菜单。
MenuRow 🔒
菜单中的一项(可带前置分隔线)。
step_enabled 🔒
在可用项之间移动焦点的目标序号;当前项不可用或不在列表时落到首项或末项。