Open gadenbuie opened 8 months ago
Similarly, shiny.ui.page_navbar()
takes position
and a few other useful options. Notably, both id
and position
are highlighted in https://shiny.posit.co/py/layouts/navbars.html and are hard to reach in Express.
I wasn't able to find a user-friendly way of passing
id
fromui.page_opts()
topage_navbar()
. This is useful when server side logic needs to know whichnav_panel()
is currently active.Here's the solution I came up with in Express: