nav_prepend | R Documentation |
Exported for use by shiny::prependTab()
/shiny::appendTab()
. These
functions have been superseded by nav_insert()
(i.e.,
shiny::insertTab()
), since it can do everything these functions do (i.e.,
add a nav_panel()
to the start or end of a nav_menu()
) and more (i.e., insert a
nav_panel()
anywhere inside a nav container).
nav_prepend(
id,
nav,
menu_title,
select = FALSE,
session = get_current_session()
)
nav_append(
id,
nav,
menu_title,
select = FALSE,
session = get_current_session()
)
id |
a character string used to identify the nav container. |
nav |
a |
menu_title |
The title of a |
select |
Should |
session |
a shiny session object (the default should almost always be used). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.