As a key component of user interaction, menus build a clear navigation system and present function entries through a structured layout, allowing users to quickly find target content or perform operations. As an important hub of human-machine interaction, menus significantly improve the accessibility and user experience of the Web component and are an indispensable part of app design. The Web component menu types include the text selection menu, context menu, and custom menu. You can flexibly select a menu type based on your specific requirements.
| Menu Type | Target Element | Response Type | Customizable |
|---|---|---|---|
| Text selection menu | Text | Long press gesture | Menu items can be added or removed, but the menu style cannot be customized. |
| Context menu | Hyperlink, image, text | Long press gesture, right-click | Customizable through the menu component. |
| Custom menu | Image | Long press gesture | Customizable through the menu component. |