addBootstrapMenu
From ReporteRs v0.7.7
by David Gohel
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 thebsdoc
.
Value
- an object of class
BootstrapMenu
.
See Also
Examples
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")
Community examples
Looks like there are no examples yet.