Menu Component
This screen contains a menu associated with a Bridge menu
component. The page contains a button below to open a web-based menu that contains several options to choose from.
Since the Hotwire Native demo app supports the menu
component, the web menu is hidden and replaced with a natively displayed menu. Tapping on a native menu option replies back to the web menu
component with the selectedIndex
of the selected option.
Displaying the menu in a native bottom sheet is a typical convention in mobile apps. It blocks touch input for all controls on the screen and allows platform gestures to dismiss the sheet.