ReporteRs (version 0.7.1)

DropDownMenu: Create a bootstrap DropDownMenu

Description

Create a DropDownMenu object. This object is to be used with BootstrapMenu to define menu links.

Usage

DropDownMenu(label)

Arguments

label

"character" value: label of the DropDownMenu.

Value

an object of class DropDownMenu.

See Also

bsdoc, addLinkItem, addBootstrapMenu

Examples

Run this code
# NOT RUN {
#START_TAG_TEST
mydd = DropDownMenu( label = "My menu" )
mydd = addLinkItem( mydd, label = "GitHub", "http://github.com/", active = TRUE)
mydd = addLinkItem( mydd, separator.after = TRUE)
mydd = addLinkItem( mydd, label = "Wikipedia", "http://www.wikipedia.fr")
#STOP_TAG_TEST
# }

Run the code above in your browser using DataCamp Workspace