Navbar menu input
- Define the
subscribe
method to tell Shiny when to change the current input value. Here it’s the events applied by Bootstrap in order:
hide.bs.tab
(on the current active tab).show.bs.tab
(on the to-be-shown tab).hidden.bs.tab
(on the previous active tab).shown.bs.tab
(on the newly-active just-shown tab).