addBootstrapMenu

0th

Percentile

add a BootstrapMenu into a bsdoc object.

add a BootstrapMenu into a bsdoc object.

Usage
addBootstrapMenu(doc, bsmenu)
Arguments
doc

a bsdoc object.

bsmenu

the BootstrapMenu to add into the bsdoc.

Value

an object of class BootstrapMenu.

See Also

bsdoc, BootstrapMenu

Aliases
  • addBootstrapMenu
Examples
# NOT RUN {
#START_TAG_TEST
library( ReporteRs )

doc = bsdoc( title = "my document" )

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 )

doc = addBootstrapMenu( doc, mymenu )

pages = writeDoc( doc, file = "addBoostrapMenu_example/example.html")
#STOP_TAG_TEST
# }
Documentation reproduced from package ReporteRs, version 0.6.9, License: GPL-3

Community examples

Looks like there are no examples yet.