menuOutput: Create a dynamic menu output for shinydashboard (client side)

Description Usage Arguments See Also

View source: R/menuOutput.R

Description

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.

Usage

1
menuOutput(outputId, tag = tags$li)

Arguments

outputId

Output variable name.

tag

A tag function, like tags$li or tags$ul.

See Also

renderMenu for the corresponding server side function and examples.

Other menu outputs: dropdownMenuOutput, menuItemOutput, menuSegmentOutput, renderMenu, sidebarMenuOutput, sidebarUserPanelOutput


gyang274/ygdashboard documentation built on Jan. 6, 2018, 12:50 a.m.