Improvements to the Navigation component
Available on Retool Cloud and in self-hosted Retool 3.123 or later.
Improvements to the Navigation component are now available. When you add a Navigation component to an app with multiple pages, Retool automatically configures the menu items to map to the pages of your app. Event handlers are also preconfigured, and clicking a menu item takes you to the corresponding page.
You can still customize the Navigation component to have different behavior, if desired. Refer to the Navigation guide for more information.
This change also made retoolContext.pages
and retoolContext.currentPage
available. Refer to the Retool Context reference for more information.