View source: R/render-functions.R
menuOutput | R Documentation |
This can be used as a placeholder for dynamically-generated
dropdownMenu
, notificationItem
,
messageItem
, taskItem
sidebarMenu
,
or menuItem
. If called directly, you must make sure to supply
the correct type of tag. It is simpler to use the wrapper functions if
present; for example, dropdownMenuOutput
and
sidebarMenuOutput
.
menuOutput(outputId, tag = shiny::tags$li)
outputId |
Output variable name. |
tag |
A tag function, like |
renderMenu
for the corresponding server side function
and examples.
Other menu outputs:
dropdownMenuOutput()
,
menuItemOutput()
,
renderMenu()
,
sidebarMenuOutput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.