ReporteRs (version 0.7.8)

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
#
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")

Run the code above in your browser using DataCamp Workspace