bsplus
Adds Functionality to the R Markdown + Shiny Bootstrap Framework
The Bootstrap framework lets you add some JavaScript functionality to your web site by adding attributes to your HTML tags - Bootstrap takes care of the JavaScript <https://getbootstrap.com/docs/3.3/javascript/>. If you are using R Markdown or Shiny, you can use these functions to create collapsible sections, accordion panels, modals, tooltips, popovers, and an accordion sidebar framework (not described at Bootstrap site). Please note this package was designed for Bootstrap 3.3.
README
The [bsplus](https://ijlyttle.github.io/bsplus) package can help you compose HTML for your Shiny UI. The primary goal of the package is to make it easier for you to use the [Bootstrap Javascript API](http://getbootstrap.com/javascript). A [companion app](https://ijlyttle.shinyapps.io/tooltip_popover_modal/) shows a tooltip, a popover, and a modal. This app shows the same functionality as the companion app, while introducing a new structure called "accordion sidebar". Using the functions in the shiny package, we can build one "dimension" of layers using a `navbarPage()`. The accordion-sidebar provides you with an independent dimension. An accordion-sidebar consists of panel-sets. Each panel-set has a sidebar panel and an main panel. The collection of sidebar panels acts as an [accordion](http://getbootstrap.com/javascript/#collapse-example-accordion); the active sidebar panel "controls" the appearance of its main panel. The important functions are: * Constructor: `bs_accordion_sidebar()` * Append a panel-set: `bs_append()` * Function to call at end of UI to activate: `use_bs_accordion_sidebar()`
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.5 |
2026-04-09 windows/windows R-4.5 | bsplus_0.1.5.zip |
105.8 KiB |