BootstrapMenu

0th

Percentile

Create a bootstrap DropDownMenu

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

Usage
BootstrapMenu(title, link = "#", bg.active.color = "#34495E",
  bg.color = "#2C3E50", text.emphasis.color = "white",
  text.color = "#ecf0f1")
Arguments
title

"character" value: label of the title.

link

url to use as link associated with the title.

bg.active.color

active background color - a single character value specifying a valid color (e.g. "#000000" or "black").

bg.color

background color - a single character value specifying a valid color (e.g. "#000000" or "black").

text.emphasis.color

text emphasis color - a single character value specifying a valid color (e.g. "#000000" or "black").

text.color

text color - a single character value specifying a valid color (e.g. "#000000" or "black").

Value

an object of class BootstrapMenu.

See Also

bsdoc, addBootstrapMenu

Aliases
  • BootstrapMenu
Examples
# NOT RUN {
#START_TAG_TEST
mymenu = BootstrapMenu( title = "my title")

mydd = DropDownMenu( label = "Mon menu" )
mydd = addLinkItem( mydd, label = "GitHub", "http://github.com/")
mydd = addLinkItem( mydd, separator.after = TRUE)
mydd = addLinkItem( mydd, label = "Wikipedia", "http://www.wikipedia.fr")

mymenu = addLinkItem( mymenu, label = "ReporteRs", "http://github.com/davidgohel/ReporteRs")
mymenu = addLinkItem( mymenu, dd = mydd )
#STOP_TAG_TEST
# }
Documentation reproduced from package ReporteRs, version 0.6.9, License: GPL-3

Community examples

Looks like there are no examples yet.