Last chance! 50% off unlimited learning
Sale ends in
BootstrapMenu
into a bsdoc
object.BootstrapMenu
into a bsdoc
object.addBootstrapMenu(doc, bsmenu)
bsdoc
object.BootstrapMenu
to add into the bsdoc
.BootstrapMenu
.bsdoc
, BootstrapMenu
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")
Run the code above in your browser using DataLab